Module adapter

Source
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§

Adapter
The list of Adapter instances is obtained by calling Instance::enumerate_adapters().
AdapterInfo
Metadata about a backend adapter.
Gpu
Represents a combination of a logical device and the hardware queues it provides.
MemoryProperties
Types of memory supported by this adapter and available memory.
MemoryType
A description for a single chunk of memory in a heap.

Enums§

DeviceType
Supported physical device types

Traits§

PhysicalDevice
Represents a physical device (such as a GPU) capable of supporting the given backend.