API reference

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

T

typeUniformValue

@codexo/exojs / rendering / stable

Value accepted by a material uniform on a shader source that declares no uniform schema. Scalars and small tuples auto-marshal to the appropriate `Float32Array`/`Int32Array` for the backend's uniform call. `Texture`/`RenderTexture` values are bound to texture slots starting at slot 1 - slot 0 is reserved for the drawable's own `texture`.

0
props
0
methods
0
events
Import
import { UniformValue } from '@codexo/exojs'

Value accepted by a material uniform on a shader source that declares no uniform schema. Scalars and small tuples auto-marshal to the appropriate `Float32Array`/`Int32Array` for the backend's uniform call. `Texture`/`RenderTexture` values are bound to texture slots starting at slot 1 - slot 0 is reserved for the drawable's own `texture`.

Definition1
Source