1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Consolidate transparent buffers lazily

This commit is contained in:
sfan5 2024-08-27 10:03:13 +02:00
parent c00fed20b7
commit 39970fed38
2 changed files with 7 additions and 0 deletions

View file

@ -282,6 +282,8 @@ private:
MapBlockBspTree m_bsp_tree;
// Ordered list of references to parts of transparent buffers to draw
std::vector<PartialMeshBuffer> m_transparent_buffers;
// Is m_transparent_buffers currently in consolidated form?
bool m_transparent_buffers_consolidated = false;
};
/*!