@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
23 lines • 860 B
TypeScript
import type { TgdContext } from "../../context/context";
import type { TgdGeometry } from "../../geometry";
import { type TgdMaterialGhostOptions } from "../../material";
import { TgdPainter } from "../painter";
export interface TgdPainterXRayOptions extends TgdMaterialGhostOptions {
geometry: TgdGeometry;
}
export declare class TgdPainterXRay extends TgdPainter {
readonly context: TgdContext;
exponent: number;
intensity: number;
private readonly texture;
private readonly painterMesh;
private readonly painterFB;
private readonly painterClear;
private readonly painterState;
private readonly painterBackground;
private readonly material;
constructor(context: TgdContext, options: TgdPainterXRayOptions);
delete(): void;
paint(time: number, delta: number): void;
}
//# sourceMappingURL=x-ray.d.ts.map