TerraForge3D  2.3.1
3D Terrain And Landscape Generator
ProjectManager Class Reference

Public Member Functions

 ProjectManager (ApplicationState *appState)
 
void SetId (std::string id)
 
std::string GetId ()
 
nlohmann::json GetDatabase ()
 
void RegisterAsset (std::string uid, std::string path)
 
std::string GetAsset (std::string id)
 
bool AssetExists (std::string id)
 
void SetDatabase (nlohmann::json db)
 
void SaveDatabase ()
 
std::string GetResourcePath ()
 
std::string SaveTexture (Texture2D *texture)
 
std::string SaveResource (std::string folder, std::string path)
 

Static Public Member Functions

static ProjectManagerGet ()
 

Public Attributes

ApplicationStateappState = nullptr
 
std::string projectID = ""
 
nlohmann::json projectDatase
 

Static Private Attributes

static ProjectManagers_ProjectManager
 

Detailed Description

Definition at line 11 of file ProjectData.h.


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