Struct ash::vk::SubpassDescriptionBuilder
source · #[repr(transparent)]pub struct SubpassDescriptionBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SubpassDescriptionBuilder<'a>
impl<'a> SubpassDescriptionBuilder<'a>
pub fn flags(self, flags: SubpassDescriptionFlags) -> Self
pub fn pipeline_bind_point(self, pipeline_bind_point: PipelineBindPoint) -> Self
pub fn input_attachments( self, input_attachments: &'a [AttachmentReference] ) -> Self
pub fn color_attachments( self, color_attachments: &'a [AttachmentReference] ) -> Self
pub fn resolve_attachments( self, resolve_attachments: &'a [AttachmentReference] ) -> Self
pub fn depth_stencil_attachment( self, depth_stencil_attachment: &'a AttachmentReference ) -> Self
pub fn preserve_attachments(self, preserve_attachments: &'a [u32]) -> Self
sourcepub fn build(self) -> SubpassDescription
pub fn build(self) -> SubpassDescription
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.