WebGLPrograms constructor

WebGLPrograms(
  1. WebGLRenderer renderer,
  2. WebGLCubeMaps cubemaps,
  3. WebGLCubeUVMaps cubeuvmaps,
  4. WebGLExtensions extensions,
  5. WebGLCapabilities capabilities,
  6. WebGLBindingStates bindingStates,
  7. WebGLClipping clipping,
)

Implementation

WebGLPrograms(this.renderer, this.cubemaps, this.cubeuvmaps, this.extensions, this.capabilities, this.bindingStates,
    this.clipping) {
  isWebGL2 = capabilities.isWebGL2;

  logarithmicDepthBuffer = capabilities.logarithmicDepthBuffer;
  vertexTextures = capabilities.vertexTextures;

  precision = capabilities.precision;
}