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 2683 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUShaderSourceSPIRV::chain

Definition at line 2684 of file webgpu.h.

◆ codeSize

uint32_t WGPUShaderSourceSPIRV::codeSize

Defaults to 0.

Definition at line 2688 of file webgpu.h.

◆ code

uint32_t const* WGPUShaderSourceSPIRV::code

Defaults to NULL.

Definition at line 2692 of file webgpu.h.