pub struct SecondaryAutoCommandBuffer<A = StandardCommandBufferAllocator>where
    A: CommandBufferAllocator,{ /* private fields */ }

Trait Implementations§

source§

impl<A> DeviceOwned for SecondaryAutoCommandBuffer<A>where A: CommandBufferAllocator,

source§

fn device(&self) -> &Arc<Device>

Returns the device that owns self.
source§

impl<A> SecondaryCommandBufferAbstract for SecondaryAutoCommandBuffer<A>where A: CommandBufferAllocator,

source§

fn usage(&self) -> CommandBufferUsage

Returns the usage of this command buffer.
source§

fn inheritance_info(&self) -> &CommandBufferInheritanceInfo

Returns a CommandBufferInheritance value describing the properties that the command buffer inherits from its parent primary command buffer.
source§

fn lock_record(&self) -> Result<(), Box<ValidationError>>

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)

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

impl<A> VulkanObject for SecondaryAutoCommandBuffer<A>where A: CommandBufferAllocator,

§

type Handle = CommandBuffer

The type of the object.
source§

fn handle(&self) -> Self::Handle

Returns the raw Vulkan handle of the object.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DeviceOwnedVulkanObject for Twhere T: DeviceOwned + VulkanObject,

source§

fn set_debug_utils_object_name( &self, object_name: Option<&str> ) -> Result<(), VulkanError>

Assigns a human-readable name to the object for debugging purposes. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.