INTRINSICS
상수, 백엔드 분류
The spelling of each builtin id on each target, keyed by id.
import { INTRINSICS } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const INTRINSICS: Readonly<Record<string, Spelling>>설명
Only builtins whose spelling
differs between WGSL and GLSL ES 3.00 have an entry; a builtin with no entry is spelled the
same way on both targets, as name(args). The wgsl and glsl members of an entry each take
the rendered argument expressions and return the call as source text.
소스
src/core/intrinsics.ts, 276행, 커밋 c66579bf 기준