Struct asche::ComputeQueue[][src]

pub struct ComputeQueue {
    pub family_index: u32,
    // some fields omitted
}

A queue for compute operations.

Fields

family_index: u32

The queue family index of this queue.

Implementations

impl ComputeQueue[src]

pub fn create_command_pool(&mut self) -> Result<ComputeCommandPool, AscheError>[src]

Creates a new command pool. Pools are not cached and are owned by the caller.

pub fn submit(
    &mut self,
    command_buffer: &ComputeCommandBuffer
) -> Result<(), AscheError>
[src]

Submits a command buffer to a queue.

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueSubmit2KHR.html

pub fn submit_all(
    &mut self,
    command_buffer: &[ComputeCommandBuffer]
) -> Result<(), AscheError>
[src]

Submit command buffers to a queue.

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueSubmit2KHR.html

Trait Implementations

impl Debug for ComputeQueue[src]

impl Drop for ComputeQueue[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

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.

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.