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

Public Member Functions

virtual void * ProcessLoadedFile (Uuid uuid) override
 
virtual void * ProcessLoadedFile (std::string_view address) override
 
virtual void * ProcessLoadedFile (Uuid uuid, std::string &assetName, Grindstone::Buffer buffer, TextureAsset &textureAsset)
 
virtual void QueueReloadAsset (Uuid uuid) override
 
virtual bool TryGetIfLoaded (std::string_view address, void *&output) override
 
- Public Member Functions inherited from Grindstone::SpecificAssetImporter< TextureAsset, AssetType::Texture >
virtual void * IncrementAssetUse (Uuid uuid) override
 
virtual void DecrementAssetUse (Uuid uuid) override
 
virtual bool TryGetIfLoaded (Uuid uuid, void *&output) 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 AssetType GetAssetType ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Grindstone::SpecificAssetImporter< TextureAsset, AssetType::Texture >
static AssetType GetStaticAssetType ()
 
- Protected Attributes inherited from Grindstone::SpecificAssetImporter< TextureAsset, AssetType::Texture >
std::map< Uuid, TextureAssetassets
 
- Protected Attributes inherited from Grindstone::AssetImporter
AssetType assetType = AssetType::Undefined
 

Member Function Documentation

◆ ProcessLoadedFile() [1/2]

void * TextureImporter::ProcessLoadedFile ( std::string_view address)
overridevirtual

Reimplemented from Grindstone::AssetImporter.

◆ ProcessLoadedFile() [2/2]

void * TextureImporter::ProcessLoadedFile ( Uuid uuid)
overridevirtual

◆ QueueReloadAsset()

void TextureImporter::QueueReloadAsset ( Uuid uuid)
overridevirtual

◆ TryGetIfLoaded()

bool TextureImporter::TryGetIfLoaded ( std::string_view address,
void *& output )
overridevirtual

Reimplemented from Grindstone::AssetImporter.


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