FloatKey
타입, 타입 분류
The f32-family keys, 'f32' and the f32 vectors: the argument domain of the float-only component-wise builtins.
import type { FloatKey } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
type FloatKey = 'f32' | `vec${number}<f32>`;설명
WGSL and GLSL ES
3.00 define those builtins over floats only, so an i32, u32 or bool node is rejected at
tsc.
소스
src/core/ir/node.ts, 1283행, 커밋 c66579bf 기준