ludus::graphics::renderer::LightingOutput¶
Ludus Wiki · API overview · Browse API
Struct
Display composition parameters for one immutable presentation version.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
#include <ludus/graphics/renderer/lighting.hpp>
struct ludus::graphics::renderer::LightingOutput final
Fields¶
Exposure¶
ludus::foundation::float32 ludus::graphics::renderer::LightingOutput::Exposure = 1
Manual scene exposure multiplier, [0.000001,1000], applied exactly once.
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
ToneMap¶
bool ludus::graphics::renderer::LightingOutput::ToneMap = true
Apply the Curve after exposure; false preserves linear RGB.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
Curve¶
ToneCurve ludus::graphics::renderer::LightingOutput::Curve = ToneCurve::Reinhard
Display curve used when ToneMap is true. Reinhard stays the default so existing presentations are unchanged.
Related types: ToneCurve
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
Encode¶
bool ludus::graphics::renderer::LightingOutput::Encode = true
Encode to sRGB for unorm display textures/surfaces; hardware sRGB surfaces encode instead. False selects a linear display intermediate, suitable for subsequent linear UI blending.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
HasBackdrop¶
bool ludus::graphics::renderer::LightingOutput::HasBackdrop = false
Show the editor backdrop (a vertical gradient between the surface.viewportTop and surface.viewport tokens) behind every pixel the scene left uncovered. The scene target must be cleared to alpha zero, which RasterViewport does for the viewports it prepares with a backdrop. False leaves the image unchanged.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
Antialiasing¶
SpatialAntialiasing ludus::graphics::renderer::LightingOutput::Antialiasing = SpatialAntialiasing::Off
Spatial antialiasing of the display image; Off leaves the image unchanged.
Related types: SpatialAntialiasing
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp