/** * @file shapes.ts * @brief Per-shape material, geometry and backdrop region resolution. */ import { type LinkJob } from "./shared.js"; import { State } from "./state.js"; /** @brief Material and geometry rows of a slot, and its program. */ export declare abstract class Shapes extends State { private tintMask; protected dropTintMask(deleteObjects: boolean): void; /** One immutable distance LUT, recreated lazily after context restoration. */ protected bindTintMask(): boolean; protected init(slot: number, kind: number, geom: number): number; protected refresh(slot: number): void; protected packTone(slot: number): void; protected finish(slot: number): void; protected packGeometry(slot: number): number; protected separateRim(key: number): boolean; protected groupLayer(key: number): boolean; protected separateTint(key: number): boolean; protected programKey(key: number): number; protected startProgram(c: number): LinkJob | null; protected program(key: number): WebGLProgram | null; protected finishProgram(c: number, job: LinkJob | null): WebGLProgram | null; protected promote(): boolean; protected prewarm(key: number): void; }