API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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: numberTotal size in bytes, padded to a multiple of 16.
defaults: Record<string, unknown> | nullDeclared starting values as one nested record, or null when all are zero.
instance: stringWebGl2Shader-visible instance name the shader body reads through.
key: stringRecord key this block is addressed by at runtime; uniforms for the implicit block.
structs: readonly UniformStructLayoutA nested struct field. `offset` is that of its first element.[]Nested struct declarations this block needs, innermost first.
typeName: stringInterface-block / struct type name shared by both generated declarations.
Source