ludus::graphics::renderer::ReferenceBsdfRandomContext¶
Ludus Wiki · API overview · Browse API
Struct
Caller-owned random address for layered material estimates; no mutable/global RNG. Scope identifies the receiver/path, Event its sample, and Dimension the material event (0..255, typically the scene bounce). Each event reserves 256 local dimensions in separate evaluation, PDF and continuation key domains. Equal inputs replay.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
#include <ludus/graphics/renderer/reference.hpp>
struct ludus::graphics::renderer::ReferenceBsdfRandomContext final
Fields¶
Key¶
foundation::math::RandomKey ludus::graphics::renderer::ReferenceBsdfRandomContext::Key {}
Explicit root key, copied; no lifetime requirement.
Related types: foundation::math::RandomKey
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
Address¶
foundation::math::RandomAddress ludus::graphics::renderer::ReferenceBsdfRandomContext::Address {}
Logical material event; invalid dimensions reject.
Related types: foundation::math::RandomAddress
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp