WebGLRenderState constructor

WebGLRenderState(
  1. WebGLExtensions extensions,
  2. WebGLCapabilities capabilities
)

Implementation

WebGLRenderState(this.extensions, this.capabilities) {
  lights = WebGLLights(extensions, capabilities);
}