pub struct SecondaryAutoCommandBuffer<A = StandardCommandBufferAlloc> { /* private fields */ }
Trait Implementations
sourceimpl<A> DeviceOwned for SecondaryAutoCommandBuffer<A>
impl<A> DeviceOwned for SecondaryAutoCommandBuffer<A>
sourceimpl<A> SecondaryCommandBufferAbstract for SecondaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
impl<A> SecondaryCommandBufferAbstract for SecondaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
sourcefn usage(&self) -> CommandBufferUsage
fn usage(&self) -> CommandBufferUsage
Returns the usage of this command buffer.
sourcefn 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 moresourcefn 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
sourceunsafe fn unlock(&self)
unsafe fn unlock(&self)
Unlocks the command buffer. Should be called once for each call to
lock_record
. Read moresourcefn num_buffers(&self) -> usize
fn num_buffers(&self) -> usize
Returns the number of buffers accessed by this command buffer.
sourcefn buffer(
&self,
index: usize
) -> Option<(&Arc<dyn BufferAccess>, Range<DeviceSize>, PipelineMemoryAccess)>
fn buffer(
&self,
index: usize
) -> Option<(&Arc<dyn BufferAccess>, Range<DeviceSize>, PipelineMemoryAccess)>
sourcefn num_images(&self) -> usize
fn num_images(&self) -> usize
Returns the number of images accessed by this command buffer.
sourcefn image(
&self,
index: usize
) -> Option<(&Arc<dyn ImageAccess>, &ImageSubresourceRange, PipelineMemoryAccess, ImageLayout, ImageLayout)>
fn image(
&self,
index: usize
) -> Option<(&Arc<dyn ImageAccess>, &ImageSubresourceRange, PipelineMemoryAccess, ImageLayout, ImageLayout)>
sourceimpl<A> VulkanObject for SecondaryAutoCommandBuffer<A>
impl<A> VulkanObject for SecondaryAutoCommandBuffer<A>
type Handle = CommandBuffer
type Handle = CommandBuffer
The type of the object.
Auto Trait Implementations
impl<A = StandardCommandBufferAlloc> !RefUnwindSafe for SecondaryAutoCommandBuffer<A>
impl<A> Send for SecondaryAutoCommandBuffer<A>where
A: Send,
impl<A> Sync for SecondaryAutoCommandBuffer<A>where
A: Sync,
impl<A> Unpin for SecondaryAutoCommandBuffer<A>where
A: Unpin,
impl<A = StandardCommandBufferAlloc> !UnwindSafe for SecondaryAutoCommandBuffer<A>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more