Returns WebGLProgram
when the program is already linked.
Otherwise throws an error.
Returns if the program is linked.
Links the shader program. This method is called internally. So you don't have to call this method manually.
Activates the ElementArrayBuffer
as a index buffer.
Activates the VertexArrayObject
.
Adds a buffer to the program.
Adds an uniform variable to the program.
Adds an UniformBufferObject
to the program.
Adds a VertexArrayObject
to the program.
Issues a draw call, which draws graphics.
Generated using TypeDoc
A shader program.