값
export 15개
리터럴과 타입이 붙은 참조, 그리고 자바스크립트 값을 노드로 바꾸는 생성자입니다.
시그니처, 설명, 예제는 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
-
arrayLit함수 - A fixed-length array literal, array<elemKey, N>(...).
-
bindingRef함수 - A module-level binding reference.
-
bool함수 - A bool literal node, the condition type for .select(), select() and control flow (If, While).
-
constRef함수 - A reference to a module-level constant by name, such as one declared with constExpr.
-
construct함수 - Low-level TypeName(args) constructor call, the primitive that vec2, vec3, vec2f64 and a struct's .construct({...}) all build on.
-
enumU32함수 - Declare a u32 enum from a name-to-value map: const Kind = enumU32.
-
EnumU32인터페이스 - A typed u32 enum: a name-to-value map whose members are Node<'u32'> literals, plus the raw value map.
-
externRef함수 - A read of a global the host provides, the read side of an externVar(...) declaration and the variable counterpart of an externFn call.
-
f32함수 - An f32 literal node.
-
f64함수 - An f64 literal node.
-
i32함수 - An i32 literal node.
-
member함수 - Low-level struct member access, base.name, with the field type given explicitly.
-
overrideRef함수 - A read of a pipeline specialization constant, the read side of an overrideConst(...) declaration.
-
param함수 - A function parameter reference, with the key inferred from the ShaderType.
-
u32함수 - A u32 literal node.