API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
enumUniformType
Field types a typed uniform block can hold. The values are the WGSL spellings, so a diagnostic naming a type reads the same as the generated shader declaration. GLSL declarations are derived from them (`f32` becomes `float`, `mat4x4<f32>` becomes `mat4`, and so on). Every field starts at zero, matrices included: one rule for the whole schema rather than a special case, and it matches a freshly allocated GPU buffer. A caller who wants the identity assigns it, or declares it as the field's `default`. Textures, samplers and vertex attributes are bindings rather than uniform-buffer fields and are declared separately.
import { UniformType } from '@codexo/exojs'Field types a typed uniform block can hold.
The values are the WGSL spellings, so a diagnostic naming a type reads the same as the generated shader declaration. GLSL declarations are derived from them (`f32` becomes `float`, `mat4x4<f32>` becomes `mat4`, and so on).
Every field starts at zero, matrices included: one rule for the whole schema rather than a special case, and it matches a freshly allocated GPU buffer. A caller who wants the identity assigns it, or declares it as the field's `default`.
Textures, samplers and vertex attributes are bindings rather than uniform-buffer fields and are declared separately.
FloatIntMat3Mat4UintVec2Vec3Vec4