@itwin/frontend-devtools
Version:
Debug menu and supporting UI widgets
39 lines • 1.53 kB
TypeScript
/** @packageDocumentation
* @module Tools
*/
import { RenderSystemDebugControl, Tool } from "@itwin/core-frontend";
/** Executes some code against a RenderSystemDebugControl obtained from the IModelApp's RenderSystem.
* @beta
*/
export declare abstract class RenderSystemDebugControlTool extends Tool {
run(_args: any[]): Promise<boolean>;
protected abstract execute(_control: RenderSystemDebugControl): void;
}
/** Forces webgl context loss.
* @beta
*/
export declare class LoseWebGLContextTool extends RenderSystemDebugControlTool {
static toolId: string;
execute(control: RenderSystemDebugControl): void;
}
/** Compiles all registered shader programs for which compilation has not already been attempted.
* This is useful for uncovering/debugging platform-specific shader issues.
* @beta
*/
export declare class CompileShadersTool extends RenderSystemDebugControlTool {
static toolId: string;
execute(control: RenderSystemDebugControl): void;
}
/** Toggles whether or not device pixel ratio should be taken into account when computing LOD for tiles and decoration graphics.
* @see [RenderSystem.Options.dpiAwareLOD]($frontend)
* @beta
*/
export declare class ToggleDPIForLODTool extends RenderSystemDebugControlTool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
private _enable?;
execute(control: RenderSystemDebugControl): void;
parseAndRun(...args: string[]): Promise<boolean>;
}
//# sourceMappingURL=RenderSystemTools.d.ts.map