Trait vulkano::framebuffer::RenderPassSubpassInterface [] [src]

pub unsafe trait RenderPassSubpassInterface<Other>: RenderPass where Other: ShaderInterfaceDef {
    fn is_compatible_with(&self, subpass: u32, other: &Other) -> bool;
}

Extension trait for RenderPass that checks whether a subpass of this render pass accepts the output of a fragment shader.

The trait is automatically implemented for all type that implement RenderPass and RenderPassDesc.

Required Methods

Returns true if this subpass is compatible with the fragment output definition. Also returns false if the subpass is out of range.

Implementors