WebGPU Headers: WGPUShaderSourceWGSL Struct Reference

Loading...

Searching...

No Matches

Data Fields

WGPUShaderSourceWGSL Struct Reference

Data Fields

WGPUChainedStruct chain
 
WGPUStringView code
 

Detailed Description

Default values can be set using WGPU_SHADER_SOURCE_WGSL_INIT as initializer.

Definition at line 2828 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUShaderSourceWGSL::chain

Definition at line 2829 of file webgpu.h.

◆ code

WGPUStringView WGPUShaderSourceWGSL::code

This is a Non-Null Input String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 2835 of file webgpu.h.