Class: ShaderManager

PIXI. ShaderManager

new PIXI.ShaderManager(renderer)

Name Type Description
renderer PIXI.WebGLRenderer

The renderer this manager works for.

Extends

Members

attribStateArray.<any>

maxAttibsnumber

The renderer this manager works for.

stackArray.<any>

tempAttribStateArray.<any>

Methods

Destroys this object.

Called when there is a WebGL context change.

Takes the attributes given in parameters and uploads them.

Name Type Description
attribs Array.<any>

attribs

Sets the current shader.

Name Type Description
shader PIXI.Shader

the shader to upload