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

Data Fields

WGPUChainedStructnextInChain
 
WGPUShaderModule WGPUStringView entryPoint
 
size_t constantCount
 
WGPUConstantEntry const * constants
 

Detailed Description

Default values can be set using WGPU_COMPUTE_STATE_INIT as initializer.

Definition at line 3796 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUComputeState::nextInChain

Definition at line 3797 of file webgpu.h.

◆ entryPoint

WGPUShaderModule WGPUStringView WGPUComputeState::entryPoint

The INIT macro sets this to NULL. This is a Nullable Input String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 3807 of file webgpu.h.

◆ constantCount

size_t WGPUComputeState::constantCount

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

Definition at line 3811 of file webgpu.h.

◆ constants

WGPUConstantEntry const* WGPUComputeState::constants

The INIT macro sets this to NULL.

Definition at line 3815 of file webgpu.h.