API Docs for: 2.2.1
Show:

WebGLShaderManager Class

Methods

destroy

()

Destroys this object.

setAttribs

(
  • attribs
)

Takes the attributes given in parameters.

Parameters:

setContext

(
  • gl
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

setShader

(
  • shader
)

Sets the current shader.

Parameters:

  • shader Any