Function serializeTextureInExtras
- serializeTextureInExtras(
texture: ITexture & ImportResultExtras,
meta: any,
name?: string,
mime?: string,
):
| {
name: string;
type: TextureDataType;
url: any;
userData: any;
uuid: string;
}
| { resource: string; uuid: string } Returns
| {
name: string;
type: TextureDataType;
url: any;
userData: any;
uuid: string;
}
| { resource: string; uuid: string }
Used in LUTCubeTextureWrapper and KTX2LoadPlugin and imported in ThreeViewer.loadConfigResources