#[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: u32,
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: u32§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, ) -> CommandBufferInheritanceInfo<'a>
pub fn subpass(self, subpass: u32) -> CommandBufferInheritanceInfo<'a>
pub fn framebuffer( self, framebuffer: Framebuffer, ) -> CommandBufferInheritanceInfo<'a>
pub fn occlusion_query_enable( self, occlusion_query_enable: bool, ) -> CommandBufferInheritanceInfo<'a>
pub fn query_flags( self, query_flags: QueryControlFlags, ) -> CommandBufferInheritanceInfo<'a>
pub fn pipeline_statistics( self, pipeline_statistics: QueryPipelineStatisticFlags, ) -> CommandBufferInheritanceInfo<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> CommandBufferInheritanceInfo<'a>where
T: ExtendsCommandBufferInheritanceInfo + ?Sized,
pub fn push_next<T>(self, next: &'a mut T) -> CommandBufferInheritanceInfo<'a>where
T: ExtendsCommandBufferInheritanceInfo + ?Sized,
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§fn default() -> CommandBufferInheritanceInfo<'_>
fn default() -> CommandBufferInheritanceInfo<'_>
Returns the “default value” for a type. Read more
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