Skip to content

ludus::foundation::math::RandomState

Ludus Wiki · API overview · Browse API

Struct

Serialisable stream state. version==1 for v1.
Byte order on disk is the owner's responsibility (do not dump struct padding).

Declared in modules/foundation/math/include/ludus/foundation/math/random.hpp

#include <ludus/foundation/math/random.hpp>
struct ludus::foundation::math::RandomState

Fields

Version

uint32 ludus::foundation::math::RandomState::Version = 1

Related types: uint32

Declared in modules/foundation/math/include/ludus/foundation/math/random.hpp

State

uint64 ludus::foundation::math::RandomState::State = 0

Related types: uint64

Declared in modules/foundation/math/include/ludus/foundation/math/random.hpp

Increment

uint64 ludus::foundation::math::RandomState::Increment = 0

Related types: uint64

Declared in modules/foundation/math/include/ludus/foundation/math/random.hpp