17class RuntimeLightingManager {
30 ::ll::TypedStorage<4, 4, float> mDist;
31 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
32 ::ll::TypedStorage<8, 8, uint64> mSubChunkIndex;
33 ::ll::TypedStorage<8, 8, ::std::vector<::SubChunkLightUpdate>*> mAlteredBlockList;
41 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::SubChunkLightUpdate>>> mAlteredSubchunkBlockList;
48 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ChunkPos, ::RuntimeLightingManager::RuntimeLightingSubchunkList>>
50 ::ll::TypedStorage<8, 24, ::std::vector<::RuntimeLightingManager::RelightingChunkElement>> mListOfChunksToProcess;
51 ::ll::TypedStorage<8, 24, ::std::vector<::SubChunkPos>> mProcessedSubchunks;
52 ::ll::TypedStorage<8, 8, ::Dimension&> mDimension;
53 ::ll::TypedStorage<1, 1, bool> mWorkerScheduled;
54 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> mLightingTimeboxTime;
59 RuntimeLightingManager& operator=(RuntimeLightingManager
const&);
60 RuntimeLightingManager(RuntimeLightingManager
const&);
61 RuntimeLightingManager();
66 virtual ~RuntimeLightingManager();
72 MCAPI
explicit RuntimeLightingManager(
::Dimension& dimension);
74 MCAPI
void _getListOfChunksWithPlayerDistance();
76 MCAPI
void _relightChunks(::std::chrono::nanoseconds timeLimit);
78 MCAPI
void _removeProcessedSubchunks();
80 MCAPI
void flushRunTimeLighting();
82 MCAPI
void updateBlockLight(