vec4fT
Constant in Types
A native vec4<f32>: an RGBA colour or a homogeneous clip-space position.
import { vec4fT } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const vec4fT: { readonly kind: "vec"; readonly n: 4; readonly elem: "f32"; }Description
Types the
pos: builtin('position', vec4fT) vertex-output field, a location(0, vec4fT)
fragment-output field, and any RGBA uniform field.
In the guide
Source
src/core/ir/types.ts, line 455, at commit 26de7be8