UNPKG

@thumbmarkjs/thumbmarkjs

Version:

![GitHub package.json dynamic](https://img.shields.io/github/package-json/version/ilkkapeltola/thumbmarkjs) ![NPM Version](https://img.shields.io/npm/v/@thumbmarkjs/thumbmarkjs) ![NPM Downloads](https://img.shields.io/npm/dm/%40thumbmarkjs%2Fthumbmarkjs

14 lines (13 loc) 518 B
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 {};