API Docs for: 2.2.1
Show:

PixiFastShader Class

Constructor

PixiFastShader

(
  • gl
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Methods

destroy

()

Destroys the shader

init

()

Initialises the shader

Properties

fragmentSrc - The fragment shader.

Array

program - The WebGL program.

Any

textureCount - A local texture counter for multi-texture shaders.

Number

vertexSrc - The vertex shader

Array