API Docs for: 2.2.1
Show:

StripShader Class

Constructor

StripShader

(
  • gl
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Methods

destroy

()

Destroys the shader

init

()

Initialises the shader

Properties

fragmentSrc - The fragment shader.

Array

program - The WebGL program.

Any

vertexSrc - The vertex shader

Array