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'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
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.
In the guide
See also
Source
src/core/ir/types.ts, line 413, at commit 26de7be8