Skip to content

Struct rayx::Rand

ClassList > rayx > Rand

Public Attributes

Type Name
RandCounter counter

Public Functions

Type Name
Rand () noexcept
Rand (const Rand &) = delete
Rand (Rand &&) = default
RAYX_FN_ACC Rand (const RandCounter ctr) noexcept
RAYX_FN_ACC Rand (const int rayPathIndex, const int numRaysTotal, const double randomSeed) noexcept
Rand & operator= (const Rand &) = delete
Rand & operator= (Rand &&) = default
RAYX_FN_ACC double randomDouble ()
RAYX_FN_ACC double randomDoubleInRange (const double min, const double max)
RAYX_FN_ACC double randomDoubleNormalDistributed (double mu, double sigma)
RAYX_FN_ACC uint64_t randomInt ()
RAYX_FN_ACC int randomIntInRange (const int min_inclusive, const int max_exclusive)

Public Attributes Documentation

variable counter

RandCounter rayx::Rand::counter;

Public Functions Documentation

function Rand [1/5]

inline rayx::Rand::Rand () noexcept

function Rand [2/5]

rayx::Rand::Rand (
    const Rand &
) = delete

function Rand [3/5]

rayx::Rand::Rand (
    Rand &&
) = default

function Rand [4/5]

inline explicit RAYX_FN_ACC rayx::Rand::Rand (
    const RandCounter ctr
) noexcept

function Rand [5/5]

inline explicit RAYX_FN_ACC rayx::Rand::Rand (
    const int rayPathIndex,
    const int numRaysTotal,
    const double randomSeed
) noexcept

function operator=

Rand & rayx::Rand::operator= (
    const Rand &
) = delete

function operator=

Rand & rayx::Rand::operator= (
    Rand &&
) = default

function randomDouble

inline RAYX_FN_ACC double rayx::Rand::randomDouble () 

function randomDoubleInRange

inline RAYX_FN_ACC double rayx::Rand::randomDoubleInRange (
    const double min,
    const double max
) 

function randomDoubleNormalDistributed

inline RAYX_FN_ACC double rayx::Rand::randomDoubleNormalDistributed (
    double mu,
    double sigma
) 

function randomInt

inline RAYX_FN_ACC uint64_t rayx::Rand::randomInt () 

function randomIntInRange

inline RAYX_FN_ACC int rayx::Rand::randomIntInRange (
    const int min_inclusive,
    const int max_exclusive
) 


The documentation for this class was generated from the following file Intern/rayx-core/src/Shader/Rand.h