pub struct CommandBufferInheritanceRenderingInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn flags(self, flags: RenderingFlags) -> Self
pub fn view_mask(self, view_mask: u32) -> Self
pub fn color_attachment_formats( self, color_attachment_formats: &'a [Format] ) -> Self
pub fn depth_attachment_format(self, depth_attachment_format: Format) -> Self
pub fn stencil_attachment_format( self, stencil_attachment_format: Format ) -> Self
pub fn rasterization_samples( self, rasterization_samples: SampleCountFlags ) -> Self
sourcepub fn build(self) -> CommandBufferInheritanceRenderingInfo
pub fn build(self) -> CommandBufferInheritanceRenderingInfo
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 CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> Deref for CommandBufferInheritanceRenderingInfoBuilder<'a>
source§impl<'a> DerefMut for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> DerefMut for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl ExtendsCommandBufferInheritanceInfo for CommandBufferInheritanceRenderingInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> RefUnwindSafe for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> !Send for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> !Sync for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> Unpin for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> UnwindSafe for CommandBufferInheritanceRenderingInfoBuilder<'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