WebGPU Headers: WGPUDeviceDescriptor Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView label
 
size_t requiredFeatureCount
 
WGPUFeatureName const * requiredFeatures
 
WGPULimits const * requiredLimits
 
WGPUQueueDescriptor defaultQueue
 
WGPUDeviceLostCallbackInfo deviceLostCallbackInfo
 
WGPUUncapturedErrorCallbackInfo uncapturedErrorCallbackInfo
 

Default values can be set using WGPU_DEVICE_DESCRIPTOR_INIT as initializer.

Definition at line 4562 of file webgpu.h.

◆ nextInChain

◆ label

◆ requiredFeatureCount

size_t WGPUDeviceDescriptor::requiredFeatureCount

Array count for requiredFeatures. The INIT macro sets this to 0.

Definition at line 4573 of file webgpu.h.

◆ requiredFeatures

The INIT macro sets this to NULL.

Definition at line 4577 of file webgpu.h.

◆ requiredLimits

WGPULimits const* WGPUDeviceDescriptor::requiredLimits

The INIT macro sets this to NULL.

Definition at line 4581 of file webgpu.h.

◆ defaultQueue

◆ deviceLostCallbackInfo

◆ uncapturedErrorCallbackInfo