MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / cleanup

Method cleanup

source/rendering/StarTilePainter.cpp:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void TilePainter::cleanup() {
107 m_pendingTerrainChunks.clear();
108 m_pendingLiquidChunks.clear();
109
110 m_textureCache.cleanup();
111 m_terrainChunkCache.cleanup();
112 m_liquidChunkCache.cleanup();
113}
114
115size_t TilePainter::TextureKeyHash::operator()(TextureKey const& key) const {
116 if (key.is<MaterialPieceTextureKey>())

Callers 1

renderMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected