fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
16 lines (14 loc) • 302 B
text/typescript
import { GLProbe } from './GLProbe';
/**
* @todo GL rendering in node is possible:
* - https://github.com/stackgl/headless-gl
* - https://github.com/akira-cn/node-canvas-webgl
*/
export class NodeGLProbe extends GLProbe {
queryWebGL() {
// noop
}
isSupported() {
return false;
}
}