Struct vulkano::command_buffer::SecondaryAutoCommandBuffer [−][src]
pub struct SecondaryAutoCommandBuffer<P = StandardCommandPoolAlloc> { /* fields omitted */ }
Trait Implementations
impl<P> DeviceOwned for SecondaryAutoCommandBuffer<P>
[src]
impl<P> DeviceOwned for SecondaryAutoCommandBuffer<P>
[src]impl<P> SecondaryCommandBuffer for SecondaryAutoCommandBuffer<P>
[src]
impl<P> SecondaryCommandBuffer for SecondaryAutoCommandBuffer<P>
[src]fn inner(&self) -> &UnsafeCommandBuffer
[src]
fn inner(&self) -> &UnsafeCommandBuffer
[src]Returns the underlying UnsafeCommandBuffer
of this command buffer.
fn lock_record(&self) -> Result<(), CommandBufferExecError>
[src]
fn lock_record(&self) -> Result<(), CommandBufferExecError>
[src]Checks whether this command buffer is allowed to be recorded to a command buffer, and if so locks it. Read more
unsafe fn unlock(&self)
[src]
unsafe fn unlock(&self)
[src]Unlocks the command buffer. Should be called once for each call to lock_record
. Read more
fn inheritance(&self) -> CommandBufferInheritance<&dyn FramebufferAbstract>
[src]
fn inheritance(&self) -> CommandBufferInheritance<&dyn FramebufferAbstract>
[src]Returns a CommandBufferInheritance
value describing the properties that the command
buffer inherits from its parent primary command buffer. Read more
fn num_buffers(&self) -> usize
[src]
fn num_buffers(&self) -> usize
[src]Returns the number of buffers accessed by this command buffer.
fn buffer(
&self,
index: usize
) -> Option<(&dyn BufferAccess, PipelineMemoryAccess)>
[src]
fn buffer(
&self,
index: usize
) -> Option<(&dyn BufferAccess, PipelineMemoryAccess)>
[src]Returns the index
th buffer of this command buffer, or None
if out of range. Read more
fn num_images(&self) -> usize
[src]
fn num_images(&self) -> usize
[src]Returns the number of images accessed by this command buffer.
fn image(
&self,
index: usize
) -> Option<(&dyn ImageAccess, PipelineMemoryAccess, ImageLayout, ImageLayout)>
[src]
fn image(
&self,
index: usize
) -> Option<(&dyn ImageAccess, PipelineMemoryAccess, ImageLayout, ImageLayout)>
[src]Returns the index
th image of this command buffer, or None
if out of range. Read more
Auto Trait Implementations
impl<P = StandardCommandPoolAlloc> !RefUnwindSafe for SecondaryAutoCommandBuffer<P>
impl<P> Send for SecondaryAutoCommandBuffer<P> where
P: Send,
P: Send,
impl<P> Sync for SecondaryAutoCommandBuffer<P> where
P: Sync,
P: Sync,
impl<P> Unpin for SecondaryAutoCommandBuffer<P> where
P: Unpin,
P: Unpin,
impl<P = StandardCommandPoolAlloc> !UnwindSafe for SecondaryAutoCommandBuffer<P>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.