a buffer geometry
the material
enable attributes
this instance
Free attributes, buffers and delete the program and disconnect the mesh from the WebGL context
Call drawElements or drawArrays
this instance
disable attributes
this instance
Initialize this mesh inside a WebGLRenderingContext, does nothing if already initialized.
the WebGLRenderingContext
Recompile shaders
this instance
Set uniform variables
this instance
Update buffer of a single attribute
name of the attribute to be updated
the new data
offset (default = 0)
also keep the underlying geometry data in sync (default = true)
current instance
Update all buffers
this instance
Generated using TypeDoc
Mesh constructor