Struct vulkano::device::physical::QueueFamily [−][src]
pub struct QueueFamily<'a> { /* fields omitted */ }
Expand description
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.
Implementations
Returns the physical device associated to this queue family.
Returns the number of queues that belong to this family.
Guaranteed to be at least 1 (or else that family wouldn’t exist).
If timestamps are supported, returns the number of bits supported by timestamp operations. The returned value will be in the range 36..64. If timestamps are not supported, returns None.
Returns the minimum granularity supported for image transfers in terms
of [width, height, depth]
Returns true
if queues of this family can execute graphics operations.
Returns true
if queues of this family can execute compute operations.
Returns true
if queues of this family can execute transfer operations.
Note: While all queues that can perform graphics or compute operations can implicitly perform transfer operations, graphics & compute queues only optionally indicate support for tranfers. Many discrete cards will have one queue family that exclusively sets the VK_QUEUE_TRANSFER_BIT to indicate a special relationship with the DMA module and more efficient transfers.
Returns true
if queues of this family can execute sparse resources binding operations.
Returns true
if the queues of this family support a particular pipeline stage.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for QueueFamily<'a>
impl<'a> Send for QueueFamily<'a>
impl<'a> Sync for QueueFamily<'a>
impl<'a> Unpin for QueueFamily<'a>
impl<'a> UnwindSafe for QueueFamily<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.