Contents

struct

SushiEngine::Loop::RNGState

Deterministic xorshift128+ generator state, storable as a component.

Declared in
engine/foundation/core/include/SushiEngine/core/random_number_generator.hpp

Trivially copyable, as component_id<T>() requires of every component. Two RNGStates seeded identically and advanced with the same sequence of next_u64() calls always produce the same values — the property that makes rollback-and-replay reproducible.

Properties

s0
s1