WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
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 2710 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUShaderSourceWGSL::chain

Definition at line 2711 of file webgpu.h.

◆ code

WGPUStringView WGPUShaderSourceWGSL::code

This is a Non-Null Input String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 2717 of file webgpu.h.