UNPKG

@itwin/core-frontend

Version:
39 lines 1.6 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * 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 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DebugShaderFile = exports.RenderDiagnostics = void 0; /** @internal */ 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 || (exports.RenderDiagnostics = RenderDiagnostics = {})); /** @internal exported strictly for display-test-app until we remove CommonJS support. */ 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; } } exports.DebugShaderFile = DebugShaderFile; //# sourceMappingURL=RenderSystemDebugControl.js.map