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.