Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1793x 1793x 1793x | import Frozen from "../Core/Frozen.js";
/**
* Image formats supported by the browser.
*
* @param {object} [options] Object with the following properties:
* @param {boolean} [options.webp=false] Whether the browser supports WebP images.
* @param {boolean} [options.basis=false] Whether the browser supports compressed textures required to view KTX2 + Basis Universal images.
*
* @private
*/
function SupportedImageFormats(options) {
options = options ?? Frozen.EMPTY_OBJECT;
this.webp = options.webp ?? false;
this.basis = options.basis ?? false;
}
export default SupportedImageFormats;
|