Values
15 members
Literals, typed references and the constructors that turn a JavaScript value into a node.
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
-
arrayLitFunction - A fixed-length array literal, array<elemKey, N>(...).
-
bindingRefFunction - A module-level binding reference.
-
boolFunction - A bool literal node, the condition type for .select(), select() and control flow (If, While).
-
constRefFunction - A reference to a module-level constant by name, such as one declared with constExpr.
-
constructFunction - Low-level TypeName(args) constructor call, the primitive that vec2, vec3, vec2f64 and a struct's .construct({...}) all build on.
-
enumU32Function - Declare a u32 enum from a name-to-value map: const Kind = enumU32.
-
EnumU32Interface - A typed u32 enum: a name-to-value map whose members are Node<'u32'> literals, plus the raw value map.
-
externRefFunction - A read of a global the host provides, the read side of an externVar(...) declaration and the variable counterpart of an externFn call.
-
f32Function - An f32 literal node.
-
f64Function - An f64 literal node.
-
i32Function - An i32 literal node.
-
memberFunction - Low-level struct member access, base.name, with the field type given explicitly.
-
overrideRefFunction - A read of a pipeline specialization constant, the read side of an overrideConst(...) declaration.
-
paramFunction - A function parameter reference, with the key inferred from the ShaderType.
-
u32Function - A u32 literal node.