Struct vulkano::command_buffer::SecondaryAutoCommandBuffer[][src]

pub struct SecondaryAutoCommandBuffer<P = StandardCommandPoolAlloc> { /* fields omitted */ }

Trait Implementations

impl<P> DeviceOwned for SecondaryAutoCommandBuffer<P>[src]

fn device(&self) -> &Arc<Device>[src]

Returns the device that owns Self.

impl<P> SecondaryCommandBuffer for SecondaryAutoCommandBuffer<P>[src]

fn inner(&self) -> &UnsafeCommandBuffer[src]

Returns the underlying UnsafeCommandBuffer of this command buffer.

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]

Unlocks the command buffer. Should be called once for each call to lock_record. Read more

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]

Returns the number of buffers accessed by this command buffer.

fn buffer(
    &self,
    index: usize
) -> Option<(&dyn BufferAccess, PipelineMemoryAccess)>
[src]

Returns the indexth buffer of this command buffer, or None if out of range. Read more

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]

Returns the indexth 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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> Content for 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]

Returns true if the size is suitable to store a type like this.

pub fn indiv_size() -> usize[src]

Returns the size of an individual element.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.