reduce copies in ThreadPool

This commit is contained in:
MihailRis 2025-12-25 23:39:11 +03:00
parent d14f5d6dfd
commit 79eb185530
7 changed files with 35 additions and 26 deletions

View file

@ -21,7 +21,7 @@ class VoxelsVolume;
class ContentGfxCache;
struct UVRegion;
class BlocksRenderer {
class BlocksRenderer final {
public:
BlocksRenderer(
size_t capacity,
@ -29,7 +29,7 @@ public:
const ContentGfxCache& cache,
const EngineSettings& settings
);
virtual ~BlocksRenderer();
~BlocksRenderer();
void build(const Chunk* chunk, const VoxelsVolume& volume);
ChunkMesh render(