import type { Renderer } from 'pixi.js'; /** * Generates an .env file and downloads it, This only works on WebGL2 due to some of the rendering technique use. * Once the file is downloaded, you can load and parse it super fast. * * The env file contains the spherical harmonics and the convoluted mipmap textures. * The textures are stored in RGBE format. Basically the alpha channel is used to allow rgb brighter than one * * HDR files can be found here: https://hdrihaven.com/hdri/?c=outdoor&h=dikhololo_night * * compressing the data result in almost 50% files size, but does reduce the range a bit. * * @param url - the url of the hdr environment * @param renderer - pixi renderer to work its magic * @param size - size of the environment texture does not need to be too big! 256 is a good size * @param compress - if true, will compress the textures to PNGs rather than raw array data. * @param name - the name of the file that is downloaded. * * @returns - a shiny new Environment object */ export declare function generateEnvFile(url: string, renderer: Renderer, size?: number, compress?: boolean, name?: string): Promise; //# sourceMappingURL=generateEnvFile.d.ts.map