mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
reduce copies in ThreadPool
This commit is contained in:
parent
d14f5d6dfd
commit
79eb185530
7 changed files with 35 additions and 26 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue