Construct a THREE.WebGLRenderer from a WebGL2 context obtained via canvas.getContext('webgl2', config.webgl.context).
THREE.WebGLRenderer
canvas.getContext('webgl2', config.webgl.context)
Returns the renderer plus a RendererCapabilities snapshot. The caller wires materialManager / HDR / clear color / initial resize.
RendererCapabilities
Construct a
THREE.WebGLRendererfrom a WebGL2 context obtained viacanvas.getContext('webgl2', config.webgl.context).Returns the renderer plus a
RendererCapabilitiessnapshot. The caller wires materialManager / HDR / clear color / initial resize.