API Docs for: 2.2.1
Show:

WebGLFastSpriteBatch Class

Methods

begin

(
  • spriteBatch
  • renderSession
)

Parameters:

flush

()

Renders the content and empties the current batch.

render

(
  • spriteBatch
)

Parameters:

renderSprite

(
  • sprite
)

Parameters:

setContext

(
  • gl
)

Sets the WebGL Context.

Parameters:

  • gl WebGLContext

    the current WebGL drawing context