/// <summary> /// Generates a new random state and overwrites the old random state with the newly generated value /// </summary> /// <returns>The newly generated random state</returns> public uint NextRandomState() { m_RandomState = SamplerUtility.Hash32NonZero(m_RandomState); return(m_RandomState); }
/// <summary> /// Generates a new random state and overwrites the old random state with the newly generated value /// </summary> /// <returns>The newly generated random state</returns> public static uint NextRandomState() { randomState = SamplerUtility.Hash32NonZero(randomState); return(randomState); }