API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeUniformFieldType
@codexo/exojs / rendering / stable
A field's type: a scalar/vector/matrix, a nested struct, or an array.
0
props
0
methods
0
events
Import
import { UniformFieldType } from '@codexo/exojs'A field's type: a scalar/vector/matrix, a nested struct, or an array.
Definition1
UniformArrayA fixed-length array of `length` elements of one type. Element types are restricted to those whose stride is already a multiple of 16 bytes - `vec4<f32>`, the… | UniformStructA struct nested inside a uniform block. A nested struct is a group of fields within the containing block, not a second GPU resource: it shares the block's buff… | UniformTypeField 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…Source