ChunkMan

Alias This

chunkStorage

Members

Functions

calcVolume
Volume calcVolume(ChunkWorldPos position)
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(uint numWorkers)
Undocumented in source. Be warned that the author may not have intended to support it.
loadVolume
void loadVolume(Volume volume)
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkChanged
void onChunkChanged(Chunk* chunk, BlockChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkLoaded
void onChunkLoaded(ChunkWorldPos chunkPos, BlockData blockData)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateObserverPosition
void updateObserverPosition(vec3 cameraPos)
Undocumented in source. Be warned that the author may not have intended to support it.
updateVisibleVolume
void updateVisibleVolume(Volume newVolume)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

blockMan
BlockMan blockMan;
Undocumented in source.
chunkMeshMan
ChunkMeshMan chunkMeshMan;
Undocumented in source.
chunkStorage
ChunkStorage chunkStorage;
Undocumented in source.
observerPosition
ChunkWorldPos observerPosition;
Undocumented in source.
totalLoadedChunks
size_t totalLoadedChunks;
Undocumented in source.
viewRadius
int viewRadius;
Undocumented in source.
visibleVolume
Volume visibleVolume;
Undocumented in source.

Meta