Module syntax

Module syntax 

Source
Expand description

Basic representations of WGSL syntactic elements, such as enums, operators, and context-dependent names.

Enumsยง

AccelerationStructureFlagsnaga-ext
Acceleration structure flags (naga extension)
AccessMode
Memory access mode enumeration.
AddressSpace
Address space enumeration.
AssignmentOperator
BinaryOperator
BuiltinValue
Built-in value names.
ConservativeDepthnaga-ext
Naga extension: Conservative Depth.
DiagnosticSeverity
Diagnostic Severity Control Names.
Enumerant
One of the predeclared enumerants.
InterpolationSampling
Interpolation Sampling Names.
InterpolationType
Interpolation Type Names.
SampledType
TexelFormat
Texel format enumeration.
UnaryOperator