Browse Source

TS: Add `isWebGL2` for WebGLCapabilities.

linbingquan 5 years ago
parent
commit
89e0bc8ddb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/renderers/webgl/WebGLCapabilities.d.ts

+ 1 - 0
src/renderers/webgl/WebGLCapabilities.d.ts

@@ -11,6 +11,7 @@ export class WebGLCapabilities {
 		parameters: WebGLCapabilitiesParameters
 		parameters: WebGLCapabilitiesParameters
 	);
 	);
 
 
+	isWebGL2: boolean;
 	precision: any;
 	precision: any;
 	logarithmicDepthBuffer: any;
 	logarithmicDepthBuffer: any;
 	maxTextures: any;
 	maxTextures: any;