|
Blender V4.3
|
#include "util/hash.h"Go to the source code of this file.
Functions | |
| template<class T > | |
| CCL_NAMESPACE_BEGIN ccl_device uint | lcg_step_uint (T rng) |
| template<class T > | |
| ccl_device float | lcg_step_float (T rng) |
| ccl_device uint | lcg_init (uint seed) |
| ccl_device_inline uint | lcg_state_init (const uint rng_hash, const uint rng_offset, const uint sample, const uint scramble) |
| ccl_device uint lcg_init | ( | uint | seed | ) |
Definition at line 29 of file lcg.h.
References lcg_step_uint(), and seed.
| ccl_device_inline uint lcg_state_init | ( | const uint | rng_hash, |
| const uint | rng_offset, | ||
| const uint | sample, | ||
| const uint | scramble ) |
Definition at line 36 of file lcg.h.
References hash_uint3(), and sample.
Referenced by integrate_surface().
| ccl_device float lcg_step_float | ( | T | rng | ) |
Definition at line 22 of file lcg.h.
References float.
Referenced by bsdf_hair_huang_eval_residual(), bsdf_hair_huang_sample(), and lights_intersect_impl().
| CCL_NAMESPACE_BEGIN ccl_device uint lcg_step_uint | ( | T | rng | ) |
Definition at line 14 of file lcg.h.
Referenced by __anyhit__kernel_optix_local_hit(), kernel_embree_filter_occluded_local_func_impl(), and lcg_init().