vec4iT
Constant in Types
A native vec4<i32>, completing the signed-integer vector family alongside vec2iT.
import { vec4iT } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
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.
In the guide
See also
Source
src/core/ir/types.ts, line 500, at commit 26de7be8