WebGLFastSpriteBatch Class
Item Index
Methods
Methods
end
()
flush
()
Renders the content and empties the current batch.
setContext
(
-
gl
Sets the WebGL Context.
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
start
()
stop
()
Properties
indices
Uint16Array
Holds the indices
vertices
Float32Array
Holds the vertices