mirror of
https://github.com/visgl/luma.gl.git
synced 2025-12-08 17:36:19 +00:00
1.5 KiB
1.5 KiB
uniformBlockBinding
blockIndex(GLuint) - uniform block indexblockBinding(GLuint) - binding point
Binds a uniform block (blockIndex) to a specific binding point (blockBinding)
varyings
program(WebGLProgram?) - programvaryings(sequence<DOMString>) -bufferMode(GLenum) - returns (TransformFeedback) - returns self to enable chaining
WebGL APIs gl.transformFeedbackVaryings
getVarying(program, index)
program(WebGLProgram?) - programindex(GLuint) - index returns (WebGLActiveInfo) - object with {name,size,type} fields.
WebGL APIs gl.getTransformFeedbackVarying
getUniformCount
Gets number of active uniforms
getUniformInfo
Gets {name, type, size} for uniform at index
getUniformLocation
Gets uniform's location (WebGLUniformLocation)
getUniformValue
Gets the value of a uniform variable at a given location
getActiveUniforms
Gets the requested information (size, offset etc) of uniforms
getVarying (WebGL2)
Gets the information {name, size, type} of a varying
getUniformBlockIndex (WebGL2)
Gets the index of a uniform block
getActiveUniformBlockParameter (WebGL2)
Gets the information about an active uniform block
getFragDataLocation (WebGL2)
Gets the binding of color numbers to user-defined varying out variables