Struct ash::vk::CommandBufferInheritanceInfoBuilder
source · pub struct CommandBufferInheritanceInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CommandBufferInheritanceInfoBuilder<'a>
impl<'a> CommandBufferInheritanceInfoBuilder<'a>
pub fn render_pass(self, render_pass: RenderPass) -> Self
pub fn subpass(self, subpass: u32) -> Self
pub fn framebuffer(self, framebuffer: Framebuffer) -> Self
pub fn occlusion_query_enable(self, occlusion_query_enable: bool) -> Self
pub fn query_flags(self, query_flags: QueryControlFlags) -> Self
pub fn pipeline_statistics( self, pipeline_statistics: QueryPipelineStatisticFlags ) -> Self
sourcepub fn push_next<T: ExtendsCommandBufferInheritanceInfo>(
self,
next: &'a mut T
) -> Self
pub fn push_next<T: ExtendsCommandBufferInheritanceInfo>( self, next: &'a mut T ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call builder.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
sourcepub fn build(self) -> CommandBufferInheritanceInfo
pub fn build(self) -> CommandBufferInheritanceInfo
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 CommandBufferInheritanceInfoBuilder<'a>
impl<'a> Deref for CommandBufferInheritanceInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommandBufferInheritanceInfoBuilder<'a>
impl<'a> RefUnwindSafe for CommandBufferInheritanceInfoBuilder<'a>
impl<'a> !Send for CommandBufferInheritanceInfoBuilder<'a>
impl<'a> !Sync for CommandBufferInheritanceInfoBuilder<'a>
impl<'a> Unpin for CommandBufferInheritanceInfoBuilder<'a>
impl<'a> UnwindSafe for CommandBufferInheritanceInfoBuilder<'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