WebGLAttributes constructor
WebGLAttributes(
- RenderingContext gl,
- WebGLCapabilities capabilities
Implementation
WebGLAttributes(this.gl, this.capabilities) {
isWebGL2 = capabilities.isWebGL2;
}