|
import { Texture } from 'three';
|
|
|
|
export interface Asset {
|
|
name: string;
|
|
path?: string;
|
|
type: 'Texture' | 'CubeTexture';
|
|
texture?: Texture;
|
|
data: any;
|
|
remote?: boolean;
|
|
}
|
|
|
|
export class AssetInfo {
|
|
constructor(public path: string, public name: string) {}
|
|
}
|