Skip to main content

propagate_block_light_chunk

Function propagate_block_light_chunk 

Source
pub fn propagate_block_light_chunk(
    workset: &LightWorkset,
    edge_checks: BlockLightChunkEdgeChecks,
) -> Result<BlockLightUpdateResult, BlockLightPropagationContextError>
Expand description

Seeds and propagates block light for the center chunk of a scoped workset.

This matches ScalableLux BlockStarLightEngine.lightChunk: source blocks in the center chunk are seeded, then the caller chooses between validating edge consistency or pulling already-initialized neighbor levels inward.