#include <optixu/optixu_math_namespace.h>
Go to the source code of this file.
|
template<unsigned int N> |
static __host__ __device__ __inline__ unsigned int | tea (unsigned int val0, unsigned int val1) |
|
static __host__ __device__ __inline__ unsigned int | lcg (unsigned int &prev) |
|
static __host__ __device__ __inline__ unsigned int | lcg2 (unsigned int &prev) |
|
static __host__ __device__ __inline__ float | rnd (unsigned int &prev) |
|
static __host__ __inline__ unsigned int | mwc () |
|
static __host__ __inline__ unsigned int | random1u () |
|
static __host__ __inline__ optix::uint2 | random2u () |
|
static __host__ __inline__ void | fillRandBuffer (unsigned int *seeds, unsigned int N) |
|
static __host__ __device__ __inline__ unsigned int | rot_seed (unsigned int seed, unsigned int frame) |
|
template<unsigned int N>
static __host__ __device__ __inline__ unsigned int tea |
( |
unsigned int |
val0, |
|
|
unsigned int |
val1 |
|
) |
| |
|
static |
static __host__ __device__ __inline__ unsigned int lcg |
( |
unsigned int & |
prev | ) |
|
|
static |
static __host__ __device__ __inline__ unsigned int lcg2 |
( |
unsigned int & |
prev | ) |
|
|
static |
static __host__ __device__ __inline__ float rnd |
( |
unsigned int & |
prev | ) |
|
|
static |
static __host__ __inline__ unsigned int mwc |
( |
| ) |
|
|
static |
static __host__ __inline__ unsigned int random1u |
( |
| ) |
|
|
static |
static __host__ __inline__ optix::uint2 random2u |
( |
| ) |
|
|
static |
static __host__ __inline__ void fillRandBuffer |
( |
unsigned int * |
seeds, |
|
|
unsigned int |
N |
|
) |
| |
|
static |
static __host__ __device__ __inline__ unsigned int rot_seed |
( |
unsigned int |
seed, |
|
|
unsigned int |
frame |
|
) |
| |
|
static |