Patch Update - Fix Memory Leak From terrain genneration and use Instancing to generate big terrain - V10.1.3

This commit is contained in:
2025-05-06 18:09:28 +02:00
parent 00e6749d01
commit 8bcd3eed48
6 changed files with 105 additions and 82 deletions

View File

@@ -98,7 +98,8 @@ public:
std::string ObjectTypeToString(ObjectType objectType);
void LaunchObject();
void LoadTexturesFromPath(std::vector<std::wstring>& texturePaths, TextureContainer& texturesContainer, D3DClass* m_Direct3D);
bool LoadTexturesFromPath(std::vector<std::wstring>& texturePaths, TextureContainer& texturesContainer,
D3DClass* m_Direct3D);
void SetAlpha(float alpha) { m_alpha = alpha; }
float GetAlpha() const { return m_alpha; }
void SetInitialStretch(float initialStretch) { m_initialStretch = initialStretch; }