API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeAnyMaterial
@codexo/exojs / rendering / stable
A material of any uniform schema. The bare `Material` type describes the untyped path, so a typed material is not one of them; code that accepts either - a renderer, a helper taking any material - names this instead.
0
props
0
methods
0
events
Import
import { AnyMaterial } from '@codexo/exojs'A material of any uniform schema.
The bare `Material` type describes the untyped path, so a typed material is not one of them; code that accepts either - a renderer, a helper taking any material - names this instead.
Definition1
MaterialDescribes the look of a renderable - shader, uniforms, textures, blend mode, and sampling state - independent of its geometry. A `Material` can be shared acros…<UniformFieldsThe fields of a block or a nested struct, keyed by their shader-visible name. | undefined, UniformBlockRecordThe named blocks of an explicit multi-block schema. | undefined>Source