API Docs for: 2.0.0
Show:

WebGLShaderManager Class

Constructor

WebGLShaderManager

() private

Methods

destroy

()

Destroys this object.

setAttribs

(
  • attribs
)

Takes the attributes given in parameters.

Parameters:

  • attribs Array

    attribs

setContext

(
  • gl
)

Initialises the context and the properties.

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

setShader

(
  • shader
)

Sets the current shader.

Parameters:

  • shader Any