PCGEngine.seed

Seeds the RNG and sets the stream. Only available if using the SetSeq variation.

  1. void seed(StateType seed)
  2. void seed(StateType seed, StateType stream)
    struct PCGEngine(ResultType, StateType, alias OutputFunc, bool OutputPrevious = true, alias StreamTypeMixin = OneSeq, StateType Multiplier = default_multiplier!StateType)
    static if(MaxStream > 0)
    void
    seed
    (
    StateType seed
    ,
    StateType stream
    )

Meta