API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeAnyShader
@codexo/exojs / rendering / stable
A shader source with any uniform declaration - what a consumer that only reads its text should accept, since the bare class describes a source that declares none.
0
props
0
methods
0
events
Import
import { AnyShader } from '@codexo/exojs'A shader source with any uniform declaration - what a consumer that only reads its text should accept, since the bare class describes a source that declares none.
Definition1
ShaderImmutable shader source pair shared by Material instances. `Shader` owns only the GLSL/WGSL text and its stable identity; it carries no uniform/texture state (…<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