Expand description
Physical devices and adapters.
The PhysicalDevice
trait specifies the API a backend must provide for dealing with
and querying a physical device, such as a particular GPU. An Adapter
is a struct
containing a PhysicalDevice
and metadata for a particular GPU, generally created
from an Instance
of that backend. adapter.open_with(...)
will return a Device
that has the properties specified.
Structs
The list of
Adapter
instances is obtained by calling Instance::enumerate_adapters()
.Metadata about a backend adapter.
Types of memory supported by this adapter and available memory.
A description for a single chunk of memory in a heap.
A strongly-typed index to a particular
MemoryType
.Enums
Supported physical device types
Traits
Represents a physical device (such as a GPU) capable of supporting the given backend.
Type Definitions
Scheduling hint for devices about the priority of a queue. Values range from
0.0
(low) to
1.0
(high).