Blender
V3.3
|
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 26 of file lcg.h.
References lcg_step_uint(), and seed.
Referenced by lcg_state_init().
ccl_device_inline uint lcg_state_init | ( | const uint | rng_hash, |
const uint | rng_offset, | ||
const uint | sample, | ||
const uint | scramble | ||
) |
Definition at line 33 of file lcg.h.
References lcg_init(), and sample.
Referenced by integrate_surface(), and subsurface_disk().
ccl_device float lcg_step_float | ( | T | rng | ) |
Definition at line 19 of file lcg.h.
References float().
Referenced by bsdf_principled_hair_sample(), mf_eval(), mf_sample(), and subsurface_disk().
CCL_NAMESPACE_BEGIN ccl_device uint lcg_step_uint | ( | T | rng | ) |
Definition at line 11 of file lcg.h.
Referenced by __anyhit__kernel_optix_local_hit(), kernel_embree_filter_occluded_func(), and lcg_init().