ChunkMeshMan

Members

Functions

commitMeshes
void commitMeshes()
Undocumented in source. Be warned that the author may not have intended to support it.
drawDebug
void drawDebug(Batch debugBatch)
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(ChunkManager _chunkManager, BlockInfoTable _blocks, BlockEntityInfoTable _beInfos, uint numMeshWorkers)
Undocumented in source. Be warned that the author may not have intended to support it.
loadMeshData
void loadMeshData(MeshGenResult result)
Undocumented in source. Be warned that the author may not have intended to support it.
meshChunk
bool meshChunk(ChunkWorldPos cwp)
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkRemoved
void onChunkRemoved(ChunkWorldPos cwp)
Undocumented in source. Be warned that the author may not have intended to support it.
preloadMesh
void preloadMesh(MeshGenResult result)
Undocumented in source. Be warned that the author may not have intended to support it.
producesMesh
bool producesMesh(ChunkSnapWithAdjacent snapWithAdjacent)
Undocumented in source. Be warned that the author may not have intended to support it.
receiveTaskResult
bool receiveTaskResult(Worker w)
Undocumented in source. Be warned that the author may not have intended to support it.
remeshChangedChunks
void remeshChangedChunks(HashSet!ChunkWorldPos modifiedChunks, void delegate(size_t chunksRemeshed) onDone)
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.
unloadChunkMesh
void unloadChunkMesh(ChunkWorldPos cwp)
Undocumented in source. Be warned that the author may not have intended to support it.
unloadChunkSubmesh
void unloadChunkSubmesh(ChunkWorldPos cwp, size_t index)
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.

Variables

beInfos
BlockEntityInfoTable beInfos;
Undocumented in source.
blocks
BlockInfoTable blocks;
Undocumented in source.
chunkManager
ChunkManager chunkManager;
Undocumented in source.
chunkMeshes
ChunkMesh[ChunkWorldPos][2] chunkMeshes;
Undocumented in source.
currentMeshGroupId
size_t currentMeshGroupId;
Undocumented in source.
meshWorkers
WorkerGroup meshWorkers;
Undocumented in source.
meshingPasses
MeshingPass[] meshingPasses;
Undocumented in source.
newChunkMeshes
MeshGenResult[] newChunkMeshes;
Undocumented in source.
numMeshChunkTasks
size_t numMeshChunkTasks;
Undocumented in source.
totalMeshDataBytes
long totalMeshDataBytes;
Undocumented in source.
totalMeshedChunks
size_t totalMeshedChunks;
Undocumented in source.
totalMeshes
size_t totalMeshes;
Undocumented in source.
wastedMeshes
ubyte[ChunkWorldPos] wastedMeshes;
Undocumented in source.

Meta