three
Version:
JavaScript 3D library
10 lines (7 loc) • 297 B
TypeScript
export namespace WEBGL {
export function isWebGLAvailable(): boolean;
export function isWebGL2Available(): boolean;
export function getWebGLErrorMessage(): HTMLElement;
export function getWebGL2ErrorMessage(): HTMLElement;
export function getErrorMessage( version: number ): HTMLElement;
}