Trait vulkano::framebuffer::RenderPassCompatible
[−]
[src]
pub unsafe trait RenderPassCompatible<Other>: RenderPass where Other: RenderPass { fn is_compatible_with(&self, other: &Arc<Other>) -> bool; }
Trait implemented on render pass objects to check whether they are compatible with another render pass.
The trait is automatically implemented for all type that implement RenderPass
.
Required Methods
fn is_compatible_with(&self, other: &Arc<Other>) -> bool
Returns true
if this layout is compatible with the other layout, as defined in the
Render Pass Compatibility
section of the Vulkan specs.
Implementors
impl<A, B> RenderPassCompatible<B> for A where A: RenderPass, B: RenderPass