pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
9 lines (8 loc) • 347 B
TypeScript
/**
* Helper for checking for WebGL support.
* @param failIfMajorPerformanceCaveat - whether to fail if there is a major performance caveat, defaults to false
* @memberof utils
* @function isWebGLSupported
* @returns {boolean} Is WebGL supported.
*/
export declare function isWebGLSupported(failIfMajorPerformanceCaveat?: boolean): boolean;