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]
impl<'a> QueueFamily<'a>
pub fn physical_device(&self) -> PhysicalDevice<'a>
[src]
pub fn physical_device(&self) -> PhysicalDevice<'a>
Returns the physical device associated to this queue family.
pub fn id(&self) -> u32
[src]
pub fn id(&self) -> u32
Returns the identifier of this queue family within the physical device.
pub fn queues_count(&self) -> usize
[src]
pub 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).
pub fn supports_graphics(&self) -> bool
[src]
pub fn supports_graphics(&self) -> bool
Returns true if queues of this family can execute graphics operations.
pub fn supports_compute(&self) -> bool
[src]
pub fn supports_compute(&self) -> bool
Returns true if queues of this family can execute compute operations.
pub fn supports_transfers(&self) -> bool
[src]
pub fn supports_transfers(&self) -> bool
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]
pub fn supports_sparse_binding(&self) -> bool
Returns true if queues of this family can execute sparse resources binding operations.
Trait Implementations
impl<'a> Debug for QueueFamily<'a>
[src]
impl<'a> Debug for QueueFamily<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Copy for QueueFamily<'a>
[src]
impl<'a> Copy for QueueFamily<'a>
impl<'a> Clone for QueueFamily<'a>
[src]
impl<'a> Clone for QueueFamily<'a>
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a> Send for QueueFamily<'a>
impl<'a> Send for QueueFamily<'a>
impl<'a> Sync for QueueFamily<'a>
impl<'a> Sync for QueueFamily<'a>