Optimize logging overhead and character animation threading

This commit is contained in:
Kelsi 2026-02-22 06:32:49 -08:00
parent 9d647e5622
commit 85c8b5d5f4
5 changed files with 73 additions and 14 deletions

View file

@ -10,6 +10,7 @@
#include <unordered_set>
#include <string>
#include <utility>
#include <future>
namespace wowee {
namespace pipeline { class AssetManager; }
@ -269,6 +270,8 @@ private:
// Maximum bones supported
static constexpr int MAX_BONES = 240;
uint32_t numAnimThreads_ = 1;
std::vector<std::future<void>> animFutures_;
// Shadow pipeline resources
VkPipeline shadowPipeline_ = VK_NULL_HANDLE;