Adapter.requestDevice - multiple declarations

Function Adapter.requestDevice

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

Device requestDevice (
  const(__C.WGPULimits) limits,
  string label = "wgpu.api.Device"
);

Parameters

NameDescription
limits Set of required limits the device must supports.
label Optional label for the Device.

Function Adapter.requestDevice

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

Device requestDevice (
  const(__C.WGPULimits) limits,
  string tracePath = null,
  string label = "wgpu.api.Device"
);

Parameters

NameDescription
limits Set of required limits the device must supports.
tracePath Optional path on the target file system at which to write a GPU debug trace.
label Optional debug label for the Device.