API Docs for: 2.0.0
Show:

ComplexPrimitiveShader Class

Constructor

ComplexPrimitiveShader

(
  • gl
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Item Index

Methods

Methods

destroy

()

Destroys the shader.

init

()

Initialises the shader.

Properties

fragmentSrc

Array

The fragment shader.

program

Any

The WebGL program.

vertexSrc

Array

The vertex shader.