Skip to content

ludus::graphics::renderer::StaticLightingBakeDescription

Ludus Wiki · API overview · Browse API

Struct

Explicit static diffuse transport quality and exact authoring provenance.

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

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

Fields

SamplesPerTriangle

foundation::uint32 ludus::graphics::renderer::StaticLightingBakeDescription::SamplesPerTriangle = 64
Cosine-hemisphere samples per triangle, 1..65536.

Related types: foundation::uint32

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

MaxDepth

foundation::uint32 ludus::graphics::renderer::StaticLightingBakeDescription::MaxDepth = 4
Scattering-event limit, 2..64; introduces truncation bias.

Related types: foundation::uint32

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

SecondaryDistance

foundation::float32 ludus::graphics::renderer::StaticLightingBakeDescription::SecondaryDistance = 1000000
Ray range in metres, (0,2e6].

Related types: foundation::float32

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

Seed

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeDescription::Seed = 0
Deterministic addressed Philox seed.

Related types: foundation::uint64

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

SceneRevision

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeDescription::SceneRevision = 0
Nonzero version; changes require a fresh job.

Related types: foundation::uint64

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

DependencyRevision

foundation::uint64 ludus::graphics::renderer::StaticLightingBakeDescription::DependencyRevision = 0
Nonzero exact cooked dependency version.

Related types: foundation::uint64

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

Surfaces

foundation::BorrowedView<const StaticLightingSurfaceDescription> ludus::graphics::renderer::StaticLightingBakeDescription::Surfaces
Optional synchronous borrowed current-World overrides, exactly one per SceneDefinition::Object. Resolved emission power must already include the current placement's world area and side count. Initialize copies all terms, so the override array need not outlive that call.

Related types: foundation::BorrowedView · StaticLightingSurfaceDescription

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

CpuByteBudget

foundation::usize ludus::graphics::renderer::StaticLightingBakeDescription::CpuByteBudget =
foundation::usize{256} * 1024 * 1024
Upper bound on owned job arrays, including BVH scratch.

Related types: foundation::usize

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