Struct Adapter

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

struct Adapter ;

Fields

NameTypeDescription
id __C.WGPUAdapterImpl*Handle identifier.
status RequestAdapterStatus

Properties

NameTypeDescription
ready[get] boolWhether this Adapter handle has finished being requested and is ready for use.

Methods

NameDescription
features () List all features that are supported with this adapter.
limits () List the "best" limits that are supported by this adapter.
properties () Information about this Adapter.
requestDevice (limits, label) Requests a connection to a physical device, creating a logical device.
requestDevice (limits, tracePath, label) Requests a connection to a physical device, creating a logical device.

See Also

wgpu::Adapter