Struct vulkano::device::Queue
[−]
[src]
pub struct Queue { /* 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 is_same(&self, other: &Queue) -> bool
Returns true if this is the same queue as another one.
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(&self) -> Result<(), OomError>
Waits until all work on this queue has finished.
Just like Device::wait()
, you shouldn't have to call this function in a typical program.
Trait Implementations
impl Debug for Queue
[src]
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.