API reference

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

C

classUniformBlock

@codexo/exojs / rendering / stable

One explicitly named uniform block. Use this only with `uniformBlocks`, where the record key supplies both the shader-visible instance name and the runtime namespace. A shader that needs a single block declares `uniforms` instead and lets the engine name it.

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

One explicitly named uniform block.

Use this only with `uniformBlocks`, where the record key supplies both the shader-visible instance name and the runtime namespace. A shader that needs a single block declares `uniforms` instead and lets the engine name it.

Constructors1
new(fields: F): UniformBlock<F>
Properties2
fields: F
kind: "block"
Source