Explorar o código

TS: Add failIfMajorPerformanceCaveat.

Mugen87 %!s(int64=4) %!d(string=hai) anos
pai
achega
8242ac0043
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      src/renderers/WebGLRenderer.d.ts

+ 6 - 0
src/renderers/WebGLRenderer.d.ts

@@ -85,6 +85,12 @@ export interface WebGLRendererParameters {
 	 * default is false.
 	 */
 	logarithmicDepthBuffer?: boolean;
+
+	/**
+	 * default is false.
+	 */
+	failIfMajorPerformanceCaveat?: boolean;
+
 }
 
 export interface WebGLDebug {