human/types/tfjs/backend.d.ts

20 lines
511 B
TypeScript
Raw Normal View History

2021-03-17 23:57:00 +01:00
export declare const config: {
name: string;
priority: number;
2021-04-09 16:02:40 +02:00
canvas: OffscreenCanvas | HTMLCanvasElement | null;
gl: unknown;
2021-03-17 23:57:00 +01:00
width: number;
height: number;
webGLattr: {
alpha: boolean;
antialias: boolean;
premultipliedAlpha: boolean;
preserveDrawingBuffer: boolean;
depth: boolean;
stencil: boolean;
failIfMajorPerformanceCaveat: boolean;
desynchronized: boolean;
};
};
export declare function register(): void;