WebGLRenderer

WebGL1Renderer

Since r118 WebGLRenderer automatically uses a WebGL 2 rendering context. When upgrading an existing project to => r118, applications might break because of two reasons:

If you can't afford the time to upgrade your code but still want to use the latest version, you can use WebGL1Renderer. This version of the renderer will enforce a WebGL 1 rendering context.

Constructor

WebGL1Renderer(parameters : Object)

Creates a new WebGL1Renderer.

Properties

See the base WebGLRenderer class for common properties.

.isWebGL1Renderer : Boolean

Read-only flag to check if a given object is of type WebGL1Renderer.

Methods

See the base WebGLRenderer class for common methods.

Source

For more info on how to obtain the source code of this module see this page.