WebGLPrograms constructor
WebGLPrograms(
- WebGLRenderer renderer,
- WebGLCubeMaps cubemaps,
- WebGLCubeUVMaps cubeuvmaps,
- WebGLExtensions extensions,
- WebGLCapabilities capabilities,
- WebGLBindingStates bindingStates,
- 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;
}