값

값

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.

이 페이지 편집 문제 보고