ludus::graphics::renderer::StaticLightingScheduleDescription¶
Ludus Wiki · API overview · Browse API
Struct
Coarse range decomposition for StaticLightingBake::Submit.
The bake is split into one preparation job followed by RangeCount jobs over contiguous, disjoint triangle ranges. Each range evaluates every sample of its triangles in the same order as Step, so the output does not depend on the range count, worker count or completion order.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp
#include <ludus/graphics/renderer/static_lighting.hpp>
struct ludus::graphics::renderer::StaticLightingScheduleDescription final
Fields¶
RangeCount¶
foundation::uint32 ludus::graphics::renderer::StaticLightingScheduleDescription::RangeCount = 64
Triangle ranges, 1..MAX_STATIC_LIGHTING_RANGES; ranges beyond the triangle count are empty.
Use several ranges per worker so uneven path cost balances, while keeping each range long enough that dispatch is small relative to its path work.
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp