getUniformBlockIndex method
The WebGL2RenderingContext.getUniformBlockIndex()
method
of the
WebGL 2 API
retrieves the index of
a uniform block within a WebGLProgram.
Implementation
external GLuint getUniformBlockIndex(
WebGLProgram program,
String uniformBlockName,
);