pub trait QueueFamily: Debug + Any + Send + Sync {
    fn queue_type(&self) -> QueueType;
    fn max_queues(&self) -> usize;
    fn id(&self) -> QueueFamilyId;

    fn supports_graphics(&self) -> bool { ... }
    fn supports_compute(&self) -> bool { ... }
    fn supports_transfer(&self) -> bool { ... }
}
Expand description

General information about a queue family, available upon adapter discovery.

Note that a backend can expose multiple queue families with the same properties.

Required Methods

Returns the type of queues.

Returns maximum number of queues created from this family.

Returns the queue family ID.

Provided Methods

Returns true if the queue supports graphics operations.

Returns true if the queue supports compute operations.

Returns true if the queue supports transfer operations.

Implementors