u32T
Constant in Types
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/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const u32T: { readonly kind: "scalar"; readonly scalar: "u32"; }Description
Prefer it to i32T whenever the value
can never be negative; the type then documents the invariant.
See also
Source
src/core/ir/types/scalar-types.ts, line 26, at commit af54ddad5