WebGPU Headers: WGPUComputeState Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUShaderModule WGPUStringView entryPoint
 
size_t constantCount
 
WGPUConstantEntry const * constants
 

Default values can be set using WGPU_COMPUTE_STATE_INIT as initializer.

Definition at line 3752 of file webgpu.h.

◆ nextInChain

◆ entryPoint

◆ constantCount

size_t WGPUComputeState::constantCount

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

Definition at line 3767 of file webgpu.h.

◆ constants

The INIT macro sets this to NULL.

Definition at line 3771 of file webgpu.h.