API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

E

enumUniformType

@codexo/exojs / rendering / stable

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.

0
props
0
methods
0
events
Import
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.

Members8
Float
Int
Mat3
Mat4
Uint
Vec2
Vec3
Vec4
Source