Trait vulkano::framebuffer::RenderPassCompatible
[−]
[src]
pub unsafe trait RenderPassCompatible<Other: ?Sized>: RenderPassDesc where
Other: RenderPassDesc, { fn is_compatible_with(&self, other: &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 RenderPassDesc
.
Note: This trait exists so that you can specialize it once specialization lands in Rust.
Required Methods
fn is_compatible_with(&self, other: &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: ?Sized> RenderPassCompatible<B> for A where
A: RenderPassDesc,
B: RenderPassDesc,