TerraForge3D  2.3.1
3D Terrain And Landscape Generator
TextureStore Class Reference

Public Member Functions

 TextureStore (ApplicationState *appState)
 
void ShowSettings (bool *pOpen)
 
void DownloadTexture (int id, int res)
 
void DeleteTexture (int id)
 
void SaveDownloadsDatabase ()
 

Static Public Member Functions

static TextureStoreGet ()
 

Public Attributes

std::vector< TextureStoreItemtextureStoreItems
 
std::vector< int > downloadedTextureStoreItems
 
ApplicationStateappState
 

Private Member Functions

void LoadTextureThumbs ()
 
void VerifyTextureThumbs ()
 
void LoadTextureDatabase ()
 
nlohmann::json LoadDownloadedTextureDatabaseJ ()
 
nlohmann::json LoadTextureDatabaseJ ()
 
void ShowAllTexturesSettings ()
 
void ShowDownloadedTexturesSettings ()
 

Private Attributes

nlohmann::json textureDatabaseJ
 
nlohmann::json downloadedTextureDatabaseJ
 
std::string uid
 
char searchStr [4096]
 

Static Private Attributes

static TextureStoresInstance = nullptr
 

Detailed Description

Definition at line 34 of file TextureStore.h.


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