WebGLAttributes constructor

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

Implementation

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