API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceUniformSchemaOptions
@codexo/exojs / rendering / stable
A uniform declaration on a Shader. `uniforms` declares one engine-named block and is the common case; `uniformBlocks` declares one or more named blocks explicitly. The two are alternatives and cannot both be given.
2
props
0
methods
0
events
Import
import { UniformSchemaOptions } from '@codexo/exojs'A uniform declaration on a Shader.
`uniforms` declares one engine-named block and is the common case; `uniformBlocks` declares one or more named blocks explicitly. The two are alternatives and cannot both be given.
Properties2
uniformBlocks?: BNamed blocks the shader reads through their record keys. Blocks take bindings 0..n-1 of the consumer's user bind group in declaration order, with texture bindings following after them.
uniforms?: FFields of a single block the shader reads through the instance name uniforms. Declaring it switches materials and filters built on this source to typed accessors and generates the block's GLSL and WGSL declarations.
Source