Skip to main content

Module sky_propagation

Module sky_propagation 

Source

Re-exportsยง

pub use context::SkyLightPropagationContext;

Modulesยง

algorithms ๐Ÿ”’
context ๐Ÿ”’
queue_engine ๐Ÿ”’

Structsยง

SkyLightUpdateResult
Sections whose visible sky-light data changed during a scoped update.

Enumsยง

SkyLightChunkEdgeChecks
Whether chunk sky-light generation must validate edge consistency.
SkyLightPropagationContextError
Error returned when a sky-light propagation context is built from mismatched caches.

Functionsยง

check_sky_light_chunk_edges
Validates already-loaded sky-light chunk edges without resetting sections.
ensure_center_chunk ๐Ÿ”’
force_load_sky_light_chunk
Force-synchronizes sky-light sections for an already-lit loaded chunk.
load_sky_light_chunk
Loads already-persisted sky light and validates chunk edges without resetting sections.
propagate_sky_light_changes
Runs ScalableLux-style sky-light propagation for changed blocks in a scoped workset.
propagate_sky_light_changes_with_empty_sections
Runs sky-light propagation after applying real section emptiness transitions.
propagate_sky_light_chunk
Seeds and propagates sky light for the center chunk of a scoped workset.
propagate_sky_light_chunk_without_edge_checks
Seeds and propagates sky light for the center chunk without edge checks.