Class: WebGLFastSpriteBatch

PIXI. WebGLFastSpriteBatch

Members

currentBaseTexture : BaseTexture

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

currentBatchSize : Number

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

currentBlendMode : Number

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

drawing : Boolean

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

indexBuffer : Object

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

indices : Uint16Array

Index data

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

lastIndexCount : Number

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

matrix : Matrix

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

maxSize : Number

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

renderSession : Object

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

shader : Object

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

size : Number

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

vertexBuffer : Object

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

vertices : Float32Array

Vertex data

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

vertSize : Number

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

Methods

begin(spriteBatch, renderSession)

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

end()

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

flush()

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

render(spriteBatch)

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

renderSprite(sprite)

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

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 130

start()

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

stop()

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

phaser-ce@2.18.0 is on GitHub and NPM

Documentation generated by JSDoc 3.6.3 on 2021-05-06 using Tomorrow.