Adapter

A handle to a physical graphics and/or compute device.

Constructors

this
this(RequestAdapterOptions options)

Requests a new Adapter, asynchronously.

Members

Functions

destroy
void destroy()

Release the given handle.

features
Features features()

List all features that are supported with this adapter.

info
AdapterInfo info()

Information about this Adapter.

limits
Limits limits()

List the "best" limits that are supported by this adapter.

ready
bool ready()

Whether this Adapter handle has finished being requested and is ready for use.

requestDevice
Device requestDevice(Limits limits, string label)

Requests a connection to a physical device, creating a logical device.

Variables

id
WgpuId id;

Handle identifier.

See Also

Meta