Struct vulkano::instance::QueueFamily [] [src]

pub struct QueueFamily<'a> {
    // some fields omitted
}

Represents a queue family in a physical device.

A queue family is group of one or multiple queues. All queues of one family have the same characteristics.

Methods

impl<'a> QueueFamily<'a>
[src]

fn physical_device(&self) -> PhysicalDevice<'a>

Returns the physical device associated to this queue family.

fn id(&self) -> u32

Returns the identifier of this queue family within the physical device.

fn queues_count(&self) -> usize

Returns the number of queues that belong to this family.

Guaranteed to be at least 1 (or else that family wouldn't exist).

fn supports_graphics(&self) -> bool

Returns true if queues of this family can execute graphics operations.

fn supports_compute(&self) -> bool

Returns true if queues of this family can execute compute operations.

fn supports_transfers(&self) -> bool

Returns true if queues of this family can execute transfer operations.

fn supports_sparse_binding(&self) -> bool

Returns true if queues of this family can execute sparse resources binding operations.

Trait Implementations

impl<'a> Clone for QueueFamily<'a>
[src]

fn clone(&self) -> QueueFamily<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a> Copy for QueueFamily<'a>
[src]

impl<'a> Debug for QueueFamily<'a>
[src]

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

Formats the value using the given formatter.