pub trait RenderPass: VkHandle<Handle = VkRenderPass> + DeviceChildHandle {
// Provided methods
fn optimal_granularity(&self) -> VkExtent2D { ... }
fn subpass(&self, index: u32) -> SubpassRef<'_, Self> { ... }
}
Provided Methods§
Sourcefn optimal_granularity(&self) -> VkExtent2D
Available on crate feature Implements
only.
fn optimal_granularity(&self) -> VkExtent2D
Implements
only.Returns the granularity for optimal render area
fn subpass(&self, index: u32) -> SubpassRef<'_, Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.