Skip to content

ludus::graphics::renderer::StaticLightingBakeProfile

Ludus Wiki · API overview · Browse API

Struct

Phase durations of a scheduled bake, read from FoundationTime's monotonic clock.
All values are nanoseconds and describe the latest Submit after its lifetime fence. The critical path of the job graph is PrepareNanoseconds + DispatchNanoseconds + LongestRangeNanoseconds, followed by MergeNanoseconds on the owner. Skipped (cancelled or blocked) ranges contribute no time.

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

#include <ludus/graphics/renderer/static_lighting.hpp>
struct ludus::graphics::renderer::StaticLightingBakeProfile final

Fields

PrepareNanoseconds

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeProfile::PrepareNanoseconds = 0
Preparation job: validation, surfaces and BVH build.

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

DispatchNanoseconds

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeProfile::DispatchNanoseconds = 0
End of preparation to the first range callback start.

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

LongestRangeNanoseconds

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeProfile::LongestRangeNanoseconds = 0
Slowest executed range callback.

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

RangeNanoseconds

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeProfile::RangeNanoseconds = 0
Sum of executed range callbacks (total path work).

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

ExecutionNanoseconds

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeProfile::ExecutionNanoseconds = 0
Submit entry to the end of the last executed callback.

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

MergeNanoseconds

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeProfile::MergeNanoseconds = 0
Owner-side status merge and chart encoding.

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

RangeCount

foundation::uint32 ludus::graphics::renderer::StaticLightingBakeProfile::RangeCount = 0
Submitted ranges, including empty ones.

Related types: foundation::uint32

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp

ExecutedRangeCount

foundation::uint32 ludus::graphics::renderer::StaticLightingBakeProfile::ExecutedRangeCount = 0
Range callbacks that ran; cancellation skips the rest.

Related types: foundation::uint32

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp