pub struct SecondaryAutoCommandBuffer<A = StandardCommandBufferAlloc> { /* private fields */ }
Trait Implementations§
source§impl<A> DeviceOwned for SecondaryAutoCommandBuffer<A>
impl<A> DeviceOwned for SecondaryAutoCommandBuffer<A>
source§impl<A> SecondaryCommandBufferAbstract for SecondaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
impl<A> SecondaryCommandBufferAbstract for SecondaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
source§fn usage(&self) -> CommandBufferUsage
fn usage(&self) -> CommandBufferUsage
Returns the usage of this command buffer.
source§fn inheritance_info(&self) -> &CommandBufferInheritanceInfo
fn inheritance_info(&self) -> &CommandBufferInheritanceInfo
Returns a
CommandBufferInheritance
value describing the properties that the command
buffer inherits from its parent primary command buffer. Read moresource§fn lock_record(&self) -> Result<(), CommandBufferExecError>
fn lock_record(&self) -> Result<(), CommandBufferExecError>
Checks whether this command buffer is allowed to be recorded to a command buffer,
and if so locks it. Read more
source§unsafe fn unlock(&self)
unsafe fn unlock(&self)
Unlocks the command buffer. Should be called once for each call to
lock_record
. Read moresource§fn num_buffers(&self) -> usize
fn num_buffers(&self) -> usize
Returns the number of buffers accessed by this command buffer.
source§fn buffer(
&self,
index: usize
) -> Option<(&Arc<dyn BufferAccess>, Range<DeviceSize>, PipelineMemoryAccess)>
fn buffer(
&self,
index: usize
) -> Option<(&Arc<dyn BufferAccess>, Range<DeviceSize>, PipelineMemoryAccess)>
source§fn num_images(&self) -> usize
fn num_images(&self) -> usize
Returns the number of images accessed by this command buffer.