Function serializeTextureInExtras
- serializeTextureInExtras(texture, meta, name?, mime?): {
name: string;
type: TextureDataType;
url: any;
userData: any;
uuid: string;
} | {
resource: string;
uuid: string;
} Parameters
meta: any
Optional
name: string
Optional
mime: 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