@itwin/frontend-devtools
Version:
Debug menu and supporting UI widgets
31 lines • 1.15 kB
TypeScript
/** @packageDocumentation
* @module Effects
*/
import { ScreenSpaceEffectBuilder, Tool } from "@itwin/core-frontend";
import { AddEffectTool } from "./EffectTools";
/** An extremely simple and mostly useless effect intended to demonstrate the basics of creating a screen-space effect.
* It flips the Viewport's image on the x and/or y axis, and/or inverts the color of each pixel.
* @beta
*/
export declare class FlipImageEffect extends AddEffectTool {
static toolId: string;
protected get effectName(): string;
protected get textureCoordFromPosition(): boolean;
protected get source(): {
vertex: string;
fragment: string;
sampleSourcePixel: string;
};
protected defineEffect(builder: ScreenSpaceEffectBuilder): void;
}
/** Configure the [[FlipImageEffect]].
* @beta
*/
export declare class FlipImageConfig extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(horizontal?: boolean, vertical?: boolean, color?: boolean): Promise<boolean>;
parseAndRun(...input: string[]): Promise<boolean>;
}
//# sourceMappingURL=FlipImage.d.ts.map