Class: PixiFastShader

PIXI. PixiFastShader

new PixiFastShader(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 10

Members

fragmentSrc : Array

The fragment shader.

Type:
  • Array
Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 49

gl : WebGLContext

Type:
  • WebGLContext
Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 23

program : Any

The WebGL program.

Type:
  • Any
Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 30

textureCount : Number

A local texture counter for multi-texture shaders.

Type:
  • Number
Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 136

vertexSrc : Array

The vertex shader.

Type:
  • Array
Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 96

Methods

destroy()

Destroys the shader.

Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 224

init()

Initialises the shader.

Source:
src/pixi/renderers/webgl/shaders/PixiFastShader.js line 143

phaser-ce@2.18.0 is on GitHub and NPM

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