pub trait QueueFamily: 'static {
type Surface: Surface;
// Required methods
fn supports_present(&self, surface: &Self::Surface) -> bool;
fn num_queues(&self) -> u32;
}Expand description
QueueFamily denotes a group of command queues provided by the backend
with the same properties/type.
Required Associated Types§
Required Methods§
Sourcefn supports_present(&self, surface: &Self::Surface) -> bool
fn supports_present(&self, surface: &Self::Surface) -> bool
Check if the queue family supports presentation to a surface
Sourcefn num_queues(&self) -> u32
fn num_queues(&self) -> u32
Return the number of available queues of this family