[−][src]Trait gfx_core::Adapter
Represents a physical or virtual device, which is capable of running the backend.
Associated Types
type CommandQueue: CommandQueue
[−]
Associated CommandQueue
type.
type Device: Device
[−]
Associated Device
type.
type QueueFamily: QueueFamily
[−]
Associated QueueFamily
type.
Required methods
fn enumerate_adapters() -> Vec<Self>
[−]
Enumerate all available adapters supporting this backend
fn open<'a, I>(&self, queue_descs: I) -> (Self::Device, Vec<Self::CommandQueue>) where
I: Iterator<Item = (&'a Self::QueueFamily, u32)>,
[−]
I: Iterator<Item = (&'a Self::QueueFamily, u32)>,
Create a new device and command queues.
fn get_info(&self) -> &AdapterInfo
[−]
Get the AdapterInfo
for this adapater.
fn get_queue_families(&self) -> &[Self::QueueFamily]
[−]
Return the supported queue families for this adapter.