vim-webgl-component
Version:
A demonstration app built on top of the vim-webgl-viewer
11 lines (10 loc) • 485 B
TypeScript
/**
* @module viw-webgl-component
*/
/** This overlay is designed to go over the viewer canvas to intercept and dispatch events to the viewer canvas.
* The point is that quickly finding a ui hit avoids the browser hit detection to search through all elements.
* When the tree view is open with 10+k elements this increases general fps significantly.
*/
export declare function Overlay(props: {
canvas: HTMLCanvasElement;
}): import("react/jsx-runtime").JSX.Element;