@thumbmarkjs/thumbmarkjs
Version:
   • 518 B
TypeScript
import { componentInterface } from '../../factory';
interface WebGLCache {
canvas: HTMLCanvasElement;
gl: WebGLRenderingContext;
program: WebGLProgram;
buffer: WebGLBuffer;
}
/** Test-only: reset the module-scope cache between test runs. */
export declare function __resetWebGLCache(): void;
/** Test-only: read the current cache reference without mutating it. */
export declare function __getWebGLCache(): WebGLCache | null;
export default function getWebGL(): Promise<componentInterface>;
export {};