Class: WebGLFastSpriteBatch

PIXI. WebGLFastSpriteBatch

Members

currentBaseTexture : BaseTexture

Type:
  • BaseTexture
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 100

currentBatchSize : Number

Type:
  • Number
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 94

currentBlendMode : Number

Type:
  • Number
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 106

drawing : Boolean

Type:
  • Boolean
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 88

indexBuffer : Object

Type:
  • Object
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 66

indices : Uint16Array

Index data

Type:
  • Uint16Array
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 54

lastIndexCount : Number

Type:
  • Number
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 72

matrix : Matrix

Type:
  • Matrix
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 124

maxSize : Number

Type:
  • Number
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 28

renderSession : Object

Type:
  • Object
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 112

shader : Object

Type:
  • Object
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 118

size : Number

Type:
  • Number
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 34

vertexBuffer : Object

Type:
  • Object
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 60

vertices : Float32Array

Vertex data

Type:
  • Float32Array
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 47

vertSize : Number

Type:
  • Number
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 22

Methods

begin(spriteBatch, renderSession)

Parameters:
Name Type Description
spriteBatch WebGLSpriteBatch
renderSession Object
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 155

end()

Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 170

flush()

Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 360

render(spriteBatch)

Parameters:
Name Type Description
spriteBatch WebGLSpriteBatch
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 178

renderSprite(sprite)

Parameters:
Name Type Description
sprite Sprite
Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 209

setContext(gl)

Sets the WebGL Context.

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 131

start()

Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 412

stop()

Source:
src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js line 404

phaser-ce@2.8.8 is on GitHub and NPM

Documentation generated by JSDoc 3.5.4 on 2017-09-25 using Tomorrow.