Struct vulkano::device::Queue [] [src]

pub struct Queue {
    // some fields omitted
}

Represents a queue where commands can be submitted.

Methods

impl Queue
[src]

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

Returns the device this queue belongs to.

fn family(&self) -> QueueFamily

Returns the family this queue belongs to.

fn id_within_family(&self) -> u32

Returns the index of this queue within its family.

fn wait_raw(&self) -> Result<()OomError>

See the docs of wait().

fn wait(&self)

Waits until all work on this queue has finished.

Just like Device::wait(), you shouldn't have to call this function.

Panic

  • Panicks if the device or host ran out of memory.

Trait Implementations

impl Debug for Queue
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl SynchronizedVulkanObject for Queue
[src]

type Object = Queue

The type of the object.

fn internal_object_guard(&self) -> MutexGuard<Queue>

Returns a reference to the object.