WebGLSpriteBatch Class
Item Index
Methods
destroy
()
Destroys the SpriteBatch.
end
()
flush
()
Renders the content and empties the current batch.
renderTilingSprite
(
-
tilingSprite
Renders a TilingSprite using the spriteBatch.
Parameters:
-
tilingSprite
TilingSpritethe tilingSprite to render
setContext
(
-
gl
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
start
()
stop
()
Properties
indices
Uint16Array
Holds the indices
vertices
Float32Array
Holds the vertices