Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

buildState

What became of a voxel chunk's mesh build, joined from the mesher's record of what the build asked the device for and the engine's record of what it did with the dispatch that build issued.

BuildState.states() enumerates the closed set: meshed, queued, buildFailed, builtEmpty, notBuilt.

BuildState.dispatchIndex(shaderKey) reads the engine's dispatch records for a compute shader once and keys them by the build prefix each names, so a reading over many chunks costs one call into the engine.

BuildState.outcome(build, dispatch) resolves one state, with a detail line naming what it is about — for a failure, the engine's own message.