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

Method lockRenderData

source/game/StarTileDrawer.cpp:174–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174MutexLocker TileDrawer::lockRenderData() {
175 return MutexLocker(m_tempRenderDataMutex);
176}
177
178RenderTile const& TileDrawer::getRenderTile(WorldRenderData const& renderData, Vec2I const& worldPos) {
179 Vec2I arrayPos = renderData.geometry.diff(worldPos, renderData.tileMinPosition);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected