Type Alias: GLSLUniformBlockInfo
GLSLUniformBlockInfo =
object
Defined in: lib/shader-module/shader-module-uniform-layout.ts:35
Parsed information about one GLSL uniform block declaration.
Properties
blockName
blockName:
string
Defined in: lib/shader-module/shader-module-uniform-layout.ts:37
Declared block type name.
body
body:
string
Defined in: lib/shader-module/shader-module-uniform-layout.ts:47
Raw source text inside the block braces.
hasLayoutQualifier
hasLayoutQualifier:
boolean
Defined in: lib/shader-module/shader-module-uniform-layout.ts:43
Whether any explicit layout qualifier was present.
instanceName
instanceName:
string|null
Defined in: lib/shader-module/shader-module-uniform-layout.ts:39
Optional instance name that follows the block declaration.
isStd140
isStd140:
boolean
Defined in: lib/shader-module/shader-module-uniform-layout.ts:45
Whether the block explicitly declares layout(std140).
layoutQualifier
layoutQualifier:
string|null
Defined in: lib/shader-module/shader-module-uniform-layout.ts:41
Raw layout qualifier text, if present.