UNPKG

@google/model-viewer

Version:

Easily display interactive 3D models on the web and in AR!

8 lines (7 loc) 421 B
export declare const assertContext: (context: WebGLRenderingContext | null) => WebGLRenderingContext; export declare const getContext: (canvas: HTMLCanvasElement, options: WebGLContextAttributes) => WebGLRenderingContext; /** * Patch the values reported by WebGLRenderingContext's * extension store to fix compatibility issues. */ export declare const applyExtensionCompatibility: (gl: WebGLRenderingContext) => void;