The shader used by RegionMesh.

Hierarchy (view full)

Properties

initialUniforms: object

The initial values of the shader uniforms.

vertexShader: string = ...
fragmentShader: string = ...
defaultUniforms: {
    canvasDimensions: number[];
    sceneDimensions: number[];
    screenDimensions: number[];
    tintAlpha: number[];
} = ...

Type declaration

  • canvasDimensions: number[]
  • sceneDimensions: number[]
  • screenDimensions: number[]
  • tintAlpha: number[]

Methods

  • Reset the shader uniforms back to their initial values.

    Returns void