Browse Source

Merge pull request #21157 from Mugen87/dev51

TS: Add failIfMajorPerformanceCaveat.
Michael Herzog 4 năm trước cách đây
mục cha
commit
c5acc710ce
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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.
 	 * default is false.
 	 */
 	 */
 	logarithmicDepthBuffer?: boolean;
 	logarithmicDepthBuffer?: boolean;
+
+	/**
+	 * default is false.
+	 */
+	failIfMajorPerformanceCaveat?: boolean;
+
 }
 }
 
 
 export interface WebGLDebug {
 export interface WebGLDebug {