u32T
상수, 타입 분류
The u32 scalar type, the DSL's unsigned-integer type: counts, indices, and the compute and vertex builtins that are unsigned by spec (builtin; the vector form is builtin).
import { u32T } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const u32T: { readonly kind: "scalar"; readonly scalar: "u32"; }설명
Prefer it to i32T whenever the value
can never be negative; the type then documents the invariant.
관련 가이드
함께 보기
소스
src/core/ir/types.ts, 413행, 커밋 c66579bf 기준