WebGLAttributes constructor

WebGLAttributes(
  1. RenderingContext gl,
  2. WebGLCapabilities capabilities
)

Implementation

WebGLAttributes(this.gl, this.capabilities) {
  isWebGL2 = capabilities.isWebGL2;
}