Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { Texture, Loader, CubeTexture, ColorSpace } from 'three';
import { PresetsType } from '../helpers/environment-assets';
export type EnvironmentLoaderProps = {
files?: string | string[];
path?: string;
preset?: PresetsType;
extensions?: (loader: Loader) => void;
colorSpace?: ColorSpace;
};
export declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): Texture | CubeTexture;
export declare namespace useEnvironment {
var preload: (preloadOptions?: EnvironmentLoaderPreloadOptions) => void;
var clear: (clearOptions?: EnvironmentLoaderClearOptions) => void;
}
type EnvironmentLoaderPreloadOptions = Omit<EnvironmentLoaderProps, 'encoding'>;
type EnvironmentLoaderClearOptions = Pick<EnvironmentLoaderProps, 'files' | 'preset'>;
export {};