pub struct CommandBufferInheritanceRenderingInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn flags( self, flags: RenderingFlags ) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn view_mask( self, view_mask: u32 ) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn color_attachment_formats( self, color_attachment_formats: &'a [Format] ) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn depth_attachment_format( self, depth_attachment_format: Format ) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn stencil_attachment_format( self, stencil_attachment_format: Format ) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn rasterization_samples( self, rasterization_samples: SampleCountFlags ) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
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>
§type Target = CommandBufferInheritanceRenderingInfo
type Target = CommandBufferInheritanceRenderingInfo
The resulting type after dereferencing.
source§impl<'a> DerefMut for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> DerefMut for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl ExtendsCommandBufferInheritanceInfo for CommandBufferInheritanceRenderingInfoBuilder<'_>
Auto Trait Implementations§
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