Go to the documentation of this file.
30 #include "../../Platforms/Basic/interface/DebugUtilities.hpp"
61 template <
typename Type>
82 const Type Range = 1.f;
95 Range{_Max - _Min + 1}
static constexpr StateType Max
Definition: FastRand.hpp:43
Fast random number generator.
Definition: FastRand.hpp:38
FastRandReal(FastRand::StateType Seed) noexcept
Definition: FastRand.hpp:65
FastRand(StateType Seed) noexcept
Definition: FastRand.hpp:45
FastRandInt(FastRand::StateType Seed, int _Min, int _Max) noexcept
Definition: FastRand.hpp:92
const D3D12_PIPELINE_STATE_SUBOBJECT_TYPE Type
Definition: PipelineStateD3D12Impl.cpp:69
int operator()()
Definition: FastRand.hpp:101
Type operator()()
Definition: FastRand.hpp:75
StateType operator()()
Definition: FastRand.hpp:50
Generates a real random number in [Min, Max] range.
Definition: FastRand.hpp:62
#define VERIFY_EXPR(...)
Definition: DebugUtilities.hpp:79
#define VERIFY(...)
Definition: DebugUtilities.hpp:76
Generates an integer random number in [Min, Max] range.
Definition: FastRand.hpp:89
unsigned int StateType
Definition: FastRand.hpp:41
FastRandReal(FastRand::StateType Seed, Type _Min, Type _Max) noexcept
Definition: FastRand.hpp:69
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37