Function: makeShaderBlockLayout()
makeShaderBlockLayout(
uniformTypes,options?):ShaderBlockLayout
Defined in: modules/core/src/shadertypes/shader-types/shader-block-layout.ts:68
Builds a deterministic shader-block layout from composite shader type declarations.
The returned value is pure layout metadata. It records the packed field offsets and exact packed byte length, but it does not allocate buffers or serialize values.
Parameters
uniformTypes
Readonly<Record<string, CompositeShaderType>>