ludus::resources::SceneEnvironment¶
Ludus Wiki · API overview · Browse API
Struct
Retained linear HDR source; workers decode without Qt, GPU calls or tone mapping.
Declared in modules/runtime/resources/include/ludus/runtime/resources/scene.h
#include <ludus/runtime/resources/scene.h>
struct ludus::resources::SceneEnvironment final
Fields¶
Width¶
uint32 ludus::resources::SceneEnvironment::Width = 0
Equirectangular width; zero for constant radiance.
Related types: uint32
Declared in modules/runtime/resources/include/ludus/runtime/resources/scene.h
Height¶
uint32 ludus::resources::SceneEnvironment::Height = 0
Equirectangular height; zero for constant radiance.
Related types: uint32
Declared in modules/runtime/resources/include/ludus/runtime/resources/scene.h
Rgb¶
foundation::math::Vector3 ludus::resources::SceneEnvironment::Rgb {}
RGB scale of Pixels, or constant nits when dimensions are zero.
Related types: foundation::math::Vector3
Declared in modules/runtime/resources/include/ludus/runtime/resources/scene.h
Pixels¶
foundation::Array<foundation::math::Vector3> ludus::resources::SceneEnvironment::Pixels
Width*Height finite nonnegative RGB nits, north-to-south.
Related types: foundation::Array · foundation::math::Vector3
Declared in modules/runtime/resources/include/ludus/runtime/resources/scene.h