PIXI.WebGLFastSpriteBatch

new WebGLFastSpriteBatch()

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 11

Members

indices:Uint16Array

Index data

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 49

vertices:Float32Array

Vertex data

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 42

begin(spriteBatch, renderSession)

Name

Type

Description

spriteBatch

PIXI.WebGLSpriteBatch

renderSession

Object

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 155

render(spriteBatch)

Name

Type

Description

spriteBatch

PIXI.WebGLSpriteBatch

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 178

renderSprite(sprite)

Name

Type

Description

sprite

PIXI.Sprite

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 209

setContext(gl)

Sets the WebGL Context.

Name

Type

Description

gl

WebGLContext

the current WebGL drawing context

Source - pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js, line 131