API Docs for: 2.0.0
Show:

WebGLShaderManager Class

Constructor

WebGLShaderManager

(
  • gl
)
private

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Item Index

Methods

setAttribs

(
  • attribs
)

Takes the attributes given in parameters

Parameters:

  • attribs Array

    attribs

setContext

(
  • gl
  • transparent
)

Initialises the context and the properties

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

  • transparent Boolean

    Whether or not the drawing context should be transparent