vec4iT
Constant in Types
A native vec4<i32>, completing the signed-integer vector family alongside vec2iT.
import { vec4iT } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const vec4iT: { readonly kind: "vec"; readonly n: 4; readonly elem: "i32"; }Description
Use it to type an fn parameter, resource or struct field declared as vec4<i32>; build
a value with construct(vec4iT, [...]) or read one with .at() against this type.
See also
Source
src/core/ir/types/vector-types.ts, line 68, at commit af54ddad5