Struct gfx_hal::adapter::Gpu [−][src]
pub struct Gpu<B: Backend> { pub device: B::Device, pub queue_groups: Vec<QueueGroup<B>>, }
Represents a combination of a logical device and the hardware queues it provides.
This structure is typically created from an adapter.
Fields
device: B::Device
Logical device for a given backend.
queue_groups: Vec<QueueGroup<B>>
The command queues that the device provides.
Trait Implementations
Auto Trait Implementations
impl<B> RefUnwindSafe for Gpu<B> where
<B as Backend>::Device: RefUnwindSafe,
<B as Backend>::Queue: RefUnwindSafe,
impl<B> RefUnwindSafe for Gpu<B> where
<B as Backend>::Device: RefUnwindSafe,
<B as Backend>::Queue: RefUnwindSafe,
impl<B> UnwindSafe for Gpu<B> where
<B as Backend>::Device: UnwindSafe,
<B as Backend>::Queue: UnwindSafe,
impl<B> UnwindSafe for Gpu<B> where
<B as Backend>::Device: UnwindSafe,
<B as Backend>::Queue: UnwindSafe,