Struct vulkano::command_buffer::SecondaryAutoCommandBuffer
source · [−]pub struct SecondaryAutoCommandBuffer<P = StandardCommandPoolAlloc> { /* private fields */ }
Trait Implementations
sourceimpl<P> DeviceOwned for SecondaryAutoCommandBuffer<P>
impl<P> DeviceOwned for SecondaryAutoCommandBuffer<P>
sourceimpl<P> SecondaryCommandBuffer for SecondaryAutoCommandBuffer<P>where
P: CommandPoolAlloc,
impl<P> SecondaryCommandBuffer for SecondaryAutoCommandBuffer<P>where
P: CommandPoolAlloc,
sourcefn inner(&self) -> &UnsafeCommandBuffer
fn inner(&self) -> &UnsafeCommandBuffer
Returns the underlying
UnsafeCommandBuffer
of this command buffer.sourcefn 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 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 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)>
Auto Trait Implementations
impl<P = StandardCommandPoolAlloc> !RefUnwindSafe for SecondaryAutoCommandBuffer<P>
impl<P> Send for SecondaryAutoCommandBuffer<P>where
P: Send,
impl<P> Sync for SecondaryAutoCommandBuffer<P>where
P: Sync,
impl<P> Unpin for SecondaryAutoCommandBuffer<P>where
P: Unpin,
impl<P = StandardCommandPoolAlloc> !UnwindSafe for SecondaryAutoCommandBuffer<P>
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