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

Data Fields

WGPUChainedStruct chain
 
uint32_t codeSize
 
uint32_t const * code
 

Detailed Description

Default values can be set using WGPU_SHADER_SOURCE_SPIRV_INIT as initializer.

Definition at line 2892 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUShaderSourceSPIRV::chain

Definition at line 2893 of file webgpu.h.

◆ codeSize

uint32_t WGPUShaderSourceSPIRV::codeSize

The INIT macro sets this to 0.

Definition at line 2897 of file webgpu.h.

◆ code

uint32_t const* WGPUShaderSourceSPIRV::code

The INIT macro sets this to NULL.

Definition at line 2901 of file webgpu.h.