Struct screen_13::prelude::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 ) -> SubpassDescriptionBuilder<'a>
pub fn pipeline_bind_point( self, pipeline_bind_point: PipelineBindPoint ) -> SubpassDescriptionBuilder<'a>
pub fn input_attachments( self, input_attachments: &'a [AttachmentReference] ) -> SubpassDescriptionBuilder<'a>
pub fn color_attachments( self, color_attachments: &'a [AttachmentReference] ) -> SubpassDescriptionBuilder<'a>
pub fn resolve_attachments( self, resolve_attachments: &'a [AttachmentReference] ) -> SubpassDescriptionBuilder<'a>
pub fn depth_stencil_attachment( self, depth_stencil_attachment: &'a AttachmentReference ) -> SubpassDescriptionBuilder<'a>
pub fn preserve_attachments( self, preserve_attachments: &'a [u32] ) -> SubpassDescriptionBuilder<'a>
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>
§type Target = SubpassDescription
type Target = SubpassDescription
The resulting type after dereferencing.
source§impl<'a> DerefMut for SubpassDescriptionBuilder<'a>
impl<'a> DerefMut 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