Patch Update - Fix the loading and saving of the texture - V10.1.1

This commit is contained in:
2025-05-06 17:07:45 +02:00
parent c442a87883
commit 5a3a4f73a8
8 changed files with 249 additions and 134 deletions

View File

@@ -151,7 +151,7 @@ public:
// Save and load scene
void SaveScene();
void LoadScene();
bool LoadScene();
void SetScenePath(std::string path) { m_scenePath = path; };
std::wstring GetScenePath();

View File

@@ -225,6 +225,8 @@ public:
void SetTextureContainer (TextureContainer& texturesContainer) { m_Textures = texturesContainer; }
TextureContainer GetTextureContainer() const { return m_Textures; }
bool PreloadTextures(ID3D11Device* device, ID3D11DeviceContext* deviceContext, TextureContainer& textureContainer);
private:
bool InitializeBuffers(ID3D11Device*);