PrimaryAutoCommandBuffer

Struct PrimaryAutoCommandBuffer 

Source
pub struct PrimaryAutoCommandBuffer<A = StandardCommandBufferAllocator>{ /* private fields */ }

Trait Implementations§

Source§

impl<A> DeviceOwned for PrimaryAutoCommandBuffer<A>

Source§

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

Returns the device that owns self.
Source§

impl<A> PrimaryCommandBufferAbstract for PrimaryAutoCommandBuffer<A>

Source§

fn usage(&self) -> CommandBufferUsage

Returns the usage of this command buffer.
Source§

fn execute( self: Arc<Self>, queue: Arc<Queue>, ) -> Result<CommandBufferExecFuture<NowFuture>, CommandBufferExecError>
where Self: Sized + 'static,

Executes this command buffer on a queue. Read more
Source§

fn execute_after<F>( self: Arc<Self>, future: F, queue: Arc<Queue>, ) -> Result<CommandBufferExecFuture<F>, CommandBufferExecError>
where Self: Sized + 'static, F: GpuFuture,

Executes the command buffer after an existing future. Read more
Source§

impl<A> VulkanObject for PrimaryAutoCommandBuffer<A>

Source§

type Handle = CommandBuffer

The type of the object.
Source§

fn handle(&self) -> <PrimaryAutoCommandBuffer<A> as VulkanObject>::Handle

Returns the raw Vulkan handle of the object.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> DeviceOwnedVulkanObject for T

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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.