API reference

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

I

interfaceUniformBlockLayout

@codexo/exojs / rendering / stable

One uniform block: its shader-visible names, its size, and its fields.

7
props
0
methods
0
events
Import
import { UniformBlockLayout } from '@codexo/exojs'

One uniform block: its shader-visible names, its size, and its fields.

Properties7
byteLength: number
Total size in bytes, padded to a multiple of 16.
defaults: Record<string, unknown> | null
Declared starting values as one nested record, or null when all are zero.
instance: string
WebGl2Shader-visible instance name the shader body reads through.
key: string
Record key this block is addressed by at runtime; uniforms for the implicit block.
Nested struct declarations this block needs, innermost first.
typeName: string
Interface-block / struct type name shared by both generated declarations.
Source