@itwin/core-frontend
Version:
iTwin.js frontend components
35 lines • 1.41 kB
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Rendering
*/
/** @internal */
export var RenderDiagnostics;
(function (RenderDiagnostics) {
/** No diagnostics enabled. */
RenderDiagnostics[RenderDiagnostics["None"] = 0] = "None";
/** Debugging output to browser console enabled. */
RenderDiagnostics[RenderDiagnostics["DebugOutput"] = 2] = "DebugOutput";
/** Potentially expensive checks of WebGL state enabled. */
RenderDiagnostics[RenderDiagnostics["WebGL"] = 4] = "WebGL";
/** All diagnostics enabled. */
RenderDiagnostics[RenderDiagnostics["All"] = 6] = "All";
})(RenderDiagnostics || (RenderDiagnostics = {}));
/** @internal exported strictly for display-test-app until we remove CommonJS support. */
export class DebugShaderFile {
filename;
src;
isVS;
isGL;
isUsed;
constructor(filename, src, isVS, isGL, isUsed) {
this.filename = filename;
this.src = src;
this.isVS = isVS;
this.isGL = isGL;
this.isUsed = isUsed;
}
}
//# sourceMappingURL=RenderSystemDebugControl.js.map