1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02: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;
};
/*!