Trait gfx_core::QueueFamily[][src]

pub trait QueueFamily: 'static {
    type Surface: Surface;
    fn supports_present(&self, surface: &Self::Surface) -> bool;
fn num_queues(&self) -> u32; }

QueueFamily denotes a group of command queues provided by the backend with the same properties/type.

Associated Types

type Surface: Surface[src]

Associated Surface type.

Loading content...

Required methods

fn supports_present(&self, surface: &Self::Surface) -> bool[src]

Check if the queue family supports presentation to a surface

fn num_queues(&self) -> u32[src]

Return the number of available queues of this family

Loading content...

Implementors

Loading content...