Struct ash::vk::SubpassDescriptionBuilder
source · 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.
Trait Implementations§
source§impl<'a> Deref for SubpassDescriptionBuilder<'a>
impl<'a> Deref for SubpassDescriptionBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SubpassDescriptionBuilder<'a>
impl<'a> !Send for SubpassDescriptionBuilder<'a>
impl<'a> !Sync for SubpassDescriptionBuilder<'a>
impl<'a> Unpin for SubpassDescriptionBuilder<'a>
impl<'a> UnwindSafe for SubpassDescriptionBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more