API Docs for: 1.4.3
Show:

PIXI.PixiShader Class

Constructor

PIXI.PixiShader

()

Methods

PIXI.PixiShader#init

()

PIXI.PixiShader#initSampler2D

()

Initialises a Sampler2D uniform (which may only be available later on after initUniforms once the texture has loaded)

PIXI.PixiShader#initUniforms

()

Initialises the shader uniform values. Uniforms are specified in the GLSL_ES Specification: http://www.khronos.org/registry/webgl/specs/latest/1.0/ http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf

PIXI.PixiShader#syncUniforms

()

Updates the shader uniform values.

Properties

fragmentSrc - The fragment shader.

Array

program - The WebGL program.

Any

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

Number