new WebGLFastSpriteBatch()
Members
-
currentBaseTexture :PIXI.BaseTexture
-
currentBatchSize :Number
-
currentBlendMode :Number
-
drawing :Boolean
-
indexBuffer :Object
-
indices :Uint16Array
-
Index data
-
lastIndexCount :Number
-
matrix :PIXI.Matrix
-
maxSize :Number
-
renderSession :Object
-
shader :Object
-
size :Number
-
vertexBuffer :Object
-
vertices :Float32Array
-
Vertex data
-
vertSize :Number
Methods
-
begin(spriteBatch, renderSession)
-
Parameters:
Name Type Description spriteBatch
PIXI.WebGLSpriteBatch -
renderSession
Object -
-
end()
-
flush()
-
render(spriteBatch)
-
Parameters:
Name Type Description spriteBatch
PIXI.WebGLSpriteBatch -
-
renderSprite(sprite)
-
Parameters:
Name Type Description sprite
PIXI.Sprite -
-
setContext(gl)
-
Sets the WebGL Context.
Parameters:
Name Type Description gl
WebGLContext the current WebGL drawing context
-
start()
-
stop()