API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeUniformValue
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`.
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`.
Float32Array | Int32Array | RenderTextureAn off-screen render target that can also be sampled as a texture. Combines RenderTarget (framebuffer attachment) with the sampler parameters of a Texture (sca… | TextureA static GPU texture sourced from an image, canvas, or video element. Holds the pixel source, its sampling state (ScaleModes, WrapModes) and its upload state (… | number | readonly [number, number, number, number] | readonly [number, number, number] | readonly [number, number]