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, MeshVertex[][2] meshes)
Undocumented in source. Be warned that the author may not have intended to support it.
producesMesh
bool producesMesh(Nullable!ChunkLayerSnap[6] adjacent, ChunkLayerSnap central)
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
size_t remeshChangedChunks(HashSet!ChunkWorldPos modifiedChunks, MeshingPassDoneHandler 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.
getDimensionBorders
Box delegate(DimensionId) getDimensionBorders;
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.
uploadLimiter
UploadLimiter uploadLimiter;
Undocumented in source.
wastedMeshes
ubyte[ChunkWorldPos] wastedMeshes;
Undocumented in source.

Meta