Struct ash::vk::definitions::CommandBufferInheritanceInfo
source · #[repr(C)]pub struct CommandBufferInheritanceInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub render_pass: RenderPass,
pub subpass: u32,
pub framebuffer: Framebuffer,
pub occlusion_query_enable: Bool32,
pub query_flags: QueryControlFlags,
pub pipeline_statistics: QueryPipelineStatisticFlags,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§render_pass: RenderPass
§subpass: u32
§framebuffer: Framebuffer
§occlusion_query_enable: Bool32
§query_flags: QueryControlFlags
§pipeline_statistics: QueryPipelineStatisticFlags
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CommandBufferInheritanceInfo<'a>
impl<'a> CommandBufferInheritanceInfo<'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 + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsCommandBufferInheritanceInfo + ?Sized>( 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 x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for CommandBufferInheritanceInfo<'a>
impl<'a> Clone for CommandBufferInheritanceInfo<'a>
source§fn clone(&self) -> CommandBufferInheritanceInfo<'a>
fn clone(&self) -> CommandBufferInheritanceInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for CommandBufferInheritanceInfo<'a>
impl<'a> Debug for CommandBufferInheritanceInfo<'a>
source§impl Default for CommandBufferInheritanceInfo<'_>
impl Default for CommandBufferInheritanceInfo<'_>
source§impl<'a> TaggedStructure for CommandBufferInheritanceInfo<'a>
impl<'a> TaggedStructure for CommandBufferInheritanceInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COMMAND_BUFFER_INHERITANCE_INFO
impl<'a> Copy for CommandBufferInheritanceInfo<'a>
impl Send for CommandBufferInheritanceInfo<'_>
impl Sync for CommandBufferInheritanceInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for CommandBufferInheritanceInfo<'a>
impl<'a> RefUnwindSafe for CommandBufferInheritanceInfo<'a>
impl<'a> Unpin for CommandBufferInheritanceInfo<'a>
impl<'a> UnwindSafe for CommandBufferInheritanceInfo<'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