Baseline Widely available
Note: This feature is available in Web Workers.
The WebGL2RenderingContext.uniformBlockBinding()
method of the WebGL 2 API assigns binding points for active uniform blocks.
uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)
Parameters
program
A WebGLProgram
containing the active uniform block whose binding to assign.
uniformBlockIndex
A GLuint
specifying the index of the active uniform block within the program.
uniformBlockBinding
A GLuint
specifying the binding point to which to bind the uniform block.
None (undefined
).
gl.uniformBlockBinding(program, 0, 1);
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4