Patch Update - Frustum Culling Thread Independant - V10.2.2

This commit is contained in:
2025-05-08 16:28:27 +02:00
parent f8bfb62e98
commit 644fc57762
3 changed files with 115 additions and 35 deletions

View File

@@ -196,6 +196,12 @@ public :
private :
// Thread de culling
std::thread m_CullingThread;
std::atomic<bool> m_CullingActive;
std::mutex m_ObjectsMutex;
void CullingThreadFunction();
std::mutex m_TerrainMutex;
std::vector<std::tuple<float, float, float, std::string, int>> m_TerrainGenerationData;