ludus::graphics::renderer::StaticLightingBakeDiagnostics¶
Ludus Wiki · API overview · Browse API
Struct
Input problems the bake tolerated instead of failing, available once preparation completes.
A zero-area (collapsed) triangle covers no surface: it emits nothing, is never hit and has no normal to gather irradiance about. The bake keeps its chart tile, so chart layout and texture coordinates are unchanged, fills that tile with zero irradiance and leaves the triangle out of ray traversal and emitter selection. Non-finite geometry is not tolerated and still fails preparation.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp
#include <ludus/graphics/renderer/static_lighting.hpp>
struct ludus::graphics::renderer::StaticLightingBakeDiagnostics final
Fields¶
SkippedTriangleCount¶
foundation::uint32 ludus::graphics::renderer::StaticLightingBakeDiagnostics::SkippedTriangleCount = 0
Zero-area triangles skipped across all objects.
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp
AffectedObjectCount¶
foundation::uint32 ludus::graphics::renderer::StaticLightingBakeDiagnostics::AffectedObjectCount = 0
Placed objects with at least one skipped triangle.
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp