Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::SpecificAssetImporter< AssetStructType, internalAssetType > Class Template Reference
Inheritance diagram for Grindstone::SpecificAssetImporter< AssetStructType, internalAssetType >:
Grindstone::AssetImporter

Public Member Functions

virtual void OnDeleteAsset (AssetStructType &asset)
virtual void * IncrementAssetUse (Uuid uuid) override
virtual void DecrementAssetUse (Uuid uuid) override
virtual bool TryGetIfLoaded (Uuid uuid, void *&output) override
virtual void IncrementOrLoad (Uuid uuid) override
size_t AssetCount () const
bool HasAssets () const
auto begin () noexcept
auto cbegin () const noexcept
auto end () noexcept
auto cend () const noexcept
Public Member Functions inherited from Grindstone::AssetImporter
virtual void QueueReloadAsset (Uuid uuid)=0
virtual void * LoadAsset (Uuid uuid)=0
virtual AssetType GetAssetType ()

Static Public Member Functions

static AssetType GetStaticAssetType ()
static const char * GetStaticAssetTypeName ()

Protected Attributes

std::map< Uuid, AssetStructType > assets
Protected Attributes inherited from Grindstone::AssetImporter
AssetType assetType = AssetType::Undefined

Member Function Documentation

◆ DecrementAssetUse()

template<typename AssetStructType, AssetType internalAssetType>
virtual void Grindstone::SpecificAssetImporter< AssetStructType, internalAssetType >::DecrementAssetUse ( Uuid uuid)
inlineoverridevirtual

◆ IncrementAssetUse()

template<typename AssetStructType, AssetType internalAssetType>
virtual void * Grindstone::SpecificAssetImporter< AssetStructType, internalAssetType >::IncrementAssetUse ( Uuid uuid)
inlineoverridevirtual

◆ IncrementOrLoad()

template<typename AssetStructType, AssetType internalAssetType>
virtual void Grindstone::SpecificAssetImporter< AssetStructType, internalAssetType >::IncrementOrLoad ( Uuid uuid)
inlineoverridevirtual

◆ TryGetIfLoaded()

template<typename AssetStructType, AssetType internalAssetType>
virtual bool Grindstone::SpecificAssetImporter< AssetStructType, internalAssetType >::TryGetIfLoaded ( Uuid uuid,
void *& output )
inlineoverridevirtual

The documentation for this class was generated from the following file: