Interface SerializableResourceExternal

A serializable resource that is loaded from an external source (e.g. from a glTF-file)

interface SerializableResourceExternal {
    idResource: string;
    name: string;
    status: RESOURCE_STATUS;
    type: string;
    url: RequestInfo;
    deserialize(_serialization): Promise<Serializable>;
    load(): Promise<SerializableResourceExternal>;
    serialize(): Serialization;
}

Hierarchy (view full)

Properties

idResource: string
name: string
type: string
url: RequestInfo

Methods