Struct vulkano::instance::QueueFamily
[−]
[src]
pub struct QueueFamily<'a> { /* 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]
pub fn physical_device(&self) -> PhysicalDevice<'a>
[src]
Returns the physical device associated to this queue family.
pub fn id(&self) -> u32
[src]
Returns the identifier of this queue family within the physical device.
pub fn queues_count(&self) -> usize
[src]
Returns the number of queues that belong to this family.
Guaranteed to be at least 1 (or else that family wouldn't exist).
pub fn supports_graphics(&self) -> bool
[src]
Returns true if queues of this family can execute graphics operations.
pub fn supports_compute(&self) -> bool
[src]
Returns true if queues of this family can execute compute operations.
pub fn supports_transfers(&self) -> bool
[src]
Returns true if queues of this family can execute transfer operations.
Note: Queues that support graphics or compute operations also always support transfer operations. As of writing this, this function will always return true. The purpose of this function is to be future-proofed in case queues that don't support transfer operations are ever added to Vulkan.
pub fn supports_sparse_binding(&self) -> bool
[src]
Returns true if queues of this family can execute sparse resources binding operations.
Trait Implementations
impl<'a> Debug for QueueFamily<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> Copy for QueueFamily<'a>
[src]
impl<'a> Clone for QueueFamily<'a>
[src]
fn clone(&self) -> QueueFamily<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more