Skip to main content

Type Alias: ShaderModuleUniformLayoutValidationResult

ShaderModuleUniformLayoutValidationResult = object

Defined in: lib/shader-module/shader-module-uniform-layout.ts:17

Describes the result of comparing declared uniformTypes with the fields found in a shader uniform block.

Properties​

actualUniformNames​

actualUniformNames: string[]

Defined in: lib/shader-module/shader-module-uniform-layout.ts:27

Field names parsed from the shader source.


expectedUniformNames​

expectedUniformNames: string[]

Defined in: lib/shader-module/shader-module-uniform-layout.ts:25

Field names declared by the module metadata.


matches​

matches: boolean

Defined in: lib/shader-module/shader-module-uniform-layout.ts:29

Whether the declared and parsed field lists match exactly.


moduleName​

moduleName: string

Defined in: lib/shader-module/shader-module-uniform-layout.ts:19

Name of the shader module being validated.


stage​

stage: ShaderModuleUniformLayoutStage

Defined in: lib/shader-module/shader-module-uniform-layout.ts:23

Shader stage that was inspected.


uniformBlockName​

uniformBlockName: string

Defined in: lib/shader-module/shader-module-uniform-layout.ts:21

Expected block name derived from the shader module name.