WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUDeviceDescriptor Struct Reference

Data Fields

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

Detailed Description

Default values can be set using WGPU_DEVICE_DESCRIPTOR_INIT as initializer.

Definition at line 3594 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUDeviceDescriptor::nextInChain

Definition at line 3595 of file webgpu.h.

◆ label

WGPUStringView WGPUDeviceDescriptor::label

This is a Non-Null Input String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 3601 of file webgpu.h.

◆ requiredFeatureCount

size_t WGPUDeviceDescriptor::requiredFeatureCount

Defaults to NULL.

Definition at line 3605 of file webgpu.h.

◆ requiredFeatures

WGPUFeatureName const* WGPUDeviceDescriptor::requiredFeatures

Definition at line 3606 of file webgpu.h.

◆ requiredLimits

WGPULimits const* WGPUDeviceDescriptor::requiredLimits

Defaults to NULL.

Definition at line 3610 of file webgpu.h.

◆ defaultQueue

WGPUQueueDescriptor WGPUDeviceDescriptor::defaultQueue

Defaults to WGPU_QUEUE_DESCRIPTOR_INIT.

Definition at line 3614 of file webgpu.h.

◆ deviceLostCallbackInfo

WGPUDeviceLostCallbackInfo WGPUDeviceDescriptor::deviceLostCallbackInfo

Defaults to WGPU_DEVICE_LOST_CALLBACK_INFO_INIT.

Definition at line 3618 of file webgpu.h.

◆ uncapturedErrorCallbackInfo

WGPUUncapturedErrorCallbackInfo WGPUDeviceDescriptor::uncapturedErrorCallbackInfo

Defaults to WGPU_UNCAPTURED_ERROR_CALLBACK_INFO_INIT.

Definition at line 3622 of file webgpu.h.