[][src]Trait rendy::factory::QueuesConfigure

pub unsafe trait QueuesConfigure where
    <Self::Families as IntoIterator>::Item == (FamilyId, Self::Priorities)
{ type Priorities: AsRef<[f32]>; type Families: IntoIterator; fn configure<impl gfx_hal::queue::QueueFamily>(
        self,
        device: DeviceId,
        families: &[impl gfx_hal::queue::QueueFamily]
    ) -> Self::Families
    where
        impl gfx_hal::queue::QueueFamily: QueueFamily
; }

Queues configuration.

Method configure receives collection of queue families and returns an iterator over family ids and number of queues.

Associated Types

type Priorities: AsRef<[f32]>

Slice of priorities.

type Families: IntoIterator

Iterator over families to create.

Loading content...

Required methods

fn configure<impl gfx_hal::queue::QueueFamily>(
    self,
    device: DeviceId,
    families: &[impl gfx_hal::queue::QueueFamily]
) -> Self::Families where
    impl gfx_hal::queue::QueueFamily: QueueFamily

Configure.

Loading content...

Implementors

impl QueuesConfigure for OneGraphicsQueue[src]

type Priorities = [f32; 1]

type Families = Option<(FamilyId, [f32; 1])>

impl QueuesConfigure for SavedQueueConfig[src]

type Priorities = Vec<f32>

type Families = Vec<(FamilyId, Vec<f32>)>

Loading content...