|
virtual void | Initialize ()=0 |
| Initialize object.
|
|
virtual void | Destroy ()=0 |
| Destroy object, releasing all resources.
|
|
virtual FAssetHandle | ImportAsset (const std::filesystem::path &Filepath)=0 |
|
virtual TObjectPtr< LAsset > | GetAsset (const FAssetHandle Handle)=0 |
|
virtual EAssetType | GetAssetType (const FAssetHandle Handle)=0 |
|
virtual bool | ReloadData (const FAssetHandle Handle)=0 |
|
virtual void | RemoveAsset (const FAssetHandle Handle)=0 |
|
virtual void | AddMemoryOnlyAsset (TObjectPtr< LAsset > Asset)=0 |
|
virtual bool | IsAssetLoaded (const FAssetHandle Handle) const =0 |
|
virtual bool | IsAssetHandleValid (const FAssetHandle Handle) const =0 |
|
virtual bool | IsMemoryAsset (const FAssetHandle Handle) const =0 |
|
virtual const std::unordered_map< FAssetHandle, TObjectPtr< LAsset > > & | GetLoadedAssets () const =0 |
|
virtual const std::unordered_map< FAssetHandle, TObjectPtr< LAsset > > & | GetMemoryOnlyAssets () const =0 |
|
virtual std::unordered_set< FAssetHandle > | GetAllAssetsWithType (const EAssetType AssetType)=0 |
|
virtual std::size_t | GetAllAssetsWithType (const EAssetType AssetType, std::unordered_set< FAssetHandle > &AssetsOfType)=0 |
|
virtual FAssetHandle | GetAssetHandleFromFilePath (const std::filesystem::path &InFilePath) const =0 |
|
virtual EAssetType | GetAssetTypeFromExtension (const std::string &Extension) const =0 |
|
virtual EAssetType | GetAssetTypeFromPath (const std::filesystem::path &InFilePath) const =0 |
|
virtual const FAssetMetadata & | GetMetadata (const FAssetHandle Handle) const =0 |
|
virtual const FAssetMetadata & | GetMetadata (const TObjectPtr< LAsset > &Asset) const =0 |
|
virtual const FAssetMetadata & | GetMetadata (const std::filesystem::path &InFilePath) const =0 |
|
virtual bool | LoadAssetRegistry ()=0 |
|
virtual void | WriteRegistryToDisk ()=0 |
|
| LObject (const LObject &Other) |
|
virtual FORCEINLINE bool | IsInitialized () const |
| Check if object is initialized.
|
|
FORCEINLINE FObjectHandle | GetObjectHandle () const |
| Get the object handle.
|
|
virtual FORCEINLINE bool | IsObjectValid () const |
| Check if object is valid for use.
|
|
virtual const LClass * | ObjectRegistration ()=0 |
| Register object class.
|
|
virtual FORCEINLINE const LClass * | GetClass () const |
| Get the class for this LObject.
|
|
virtual std::string | ClassName () const =0 |
| Get name of the LObject class.
|
|
LObject & | operator= (const LObject &Other) |
|
void | MarkAsGarbage () |
| Mark object as garbage.
|
|
template<typename T > |
T & | As () |
| Cast object to type T.
|
|
template<typename T > |
const T & | As () const |
| Cast object to type T.
|
|
template<typename T > |
bool | IsA () const |
| Check if the object is or is a derivation of type T.
|
|
virtual FORCEINLINE bool | IsAsset () const |
| Check if object is an asset.
|
|
FORCEINLINE uint32_t | GetReferenceCount () const |
| Return current reference count from all object pointers.
|
|
template<typename OtherClassType > |
FORCEINLINE bool | IsA (OtherClassType OtherObject) const |
| Check if the object is the same type as the passed object's.
|
|