Function: warnIfGLSLUniformBlocksAreNotStd140()
warnIfGLSLUniformBlocksAreNotStd140(
shaderSource,stage,log?,context?):GLSLUniformBlockInfo[]
Defined in: lib/shader-module/shader-module-uniform-layout.ts:191
Emits warnings for GLSL uniform blocks that do not explicitly declare
layout(std140).
Parameters
shaderSource
string
stage
"vertex" | "fragment"
log?
Logger
context?
label?
string
Returns
The list of parsed blocks that were considered non-compliant.