Blender
V3.3
|
#include "kernel/sample/pattern.h"
Go to the source code of this file.
Classes | |
struct | RNGState |
Typedefs | |
typedef struct RNGState | RNGState |
ccl_device_inline float path_branched_rng_1D | ( | KernelGlobals | kg, |
ccl_private const RNGState * | rng_state, | ||
int | branch, | ||
int | num_branches, | ||
int | dimension | ||
) |
Definition at line 328 of file path_state.h.
References path_rng_1D().
ccl_device_inline void path_branched_rng_2D | ( | KernelGlobals | kg, |
ccl_private const RNGState * | rng_state, | ||
int | branch, | ||
int | num_branches, | ||
int | dimension, | ||
ccl_private float * | fx, | ||
ccl_private float * | fy | ||
) |
Definition at line 340 of file path_state.h.
References path_rng_2D().
ccl_device_inline bool path_state_ao_bounce | ( | KernelGlobals | kg, |
ConstIntegratorState | state | ||
) |
Definition at line 255 of file path_state.h.
References INTEGRATOR_STATE, kernel_data, and state.
Referenced by integrate_background(), integrator_intersect_closest(), and integrator_intersect_terminate().
ccl_device_inline float path_state_continuation_probability | ( | KernelGlobals | kg, |
ConstIntegratorState | state, | ||
const uint32_t | path_flag | ||
) |
Definition at line 231 of file path_state.h.
References fabs(), INTEGRATOR_STATE, kernel_data, min, PATH_RAY_TRANSPARENT, reduce_max(), sqrtf, and state.
Referenced by integrator_intersect_terminate().
ccl_device_inline void path_state_init | ( | IntegratorState | state, |
ccl_global const KernelWorkTile *ccl_restrict | tile, | ||
const int | x, | ||
const int | y | ||
) |
Definition at line 24 of file path_state.h.
References INTEGRATOR_STATE_WRITE, KernelWorkTile::offset, path_state_init_queues(), render_pixel_index, state, KernelWorkTile::stride, tile, x, and y.
Referenced by integrator_init_from_bake(), and integrator_init_from_camera().
ccl_device_inline void path_state_init_integrator | ( | KernelGlobals | kg, |
IntegratorState | state, | ||
const int | sample, | ||
const uint | rng_hash | ||
) |
Definition at line 37 of file path_state.h.
References INTEGRATOR_STATE_ARRAY_WRITE, INTEGRATOR_STATE_WRITE, kernel_data, KERNEL_FEATURE_DENOISING, KERNEL_FEATURE_VOLUME, make_float3, OBJECT_NONE, one_float3(), PATH_RAY_CAMERA, PATH_RAY_DENOISING_FEATURES, PATH_RAY_MIS_SKIP, PATH_RAY_TRANSPARENT_BACKGROUND, PRIM_NONE, PRNG_BASE_NUM, sample, SHADER_NONE, and state.
Referenced by integrator_init_from_bake(), and integrator_init_from_camera().
CCL_NAMESPACE_BEGIN ccl_device_inline void path_state_init_queues | ( | IntegratorState | state | ) |
Definition at line 13 of file path_state.h.
References INTEGRATOR_STATE_WRITE, and state.
Referenced by path_state_init(), and PathTraceWorkCPU::render_samples_full_pipeline().
ccl_device_inline void path_state_next | ( | KernelGlobals | kg, |
IntegratorState | state, | ||
int | label | ||
) |
Definition at line 82 of file path_state.h.
References INTEGRATOR_STATE, INTEGRATOR_STATE_WRITE, kernel_assert, kernel_data, label, LABEL_DIFFUSE, LABEL_GLOSSY, LABEL_REFLECT, LABEL_SINGULAR, LABEL_TRANSMIT, LABEL_TRANSMIT_TRANSPARENT, LABEL_TRANSPARENT, LABEL_VOLUME_SCATTER, PATH_RAY_ALL_VISIBILITY, PATH_RAY_ANY_PASS, PATH_RAY_DIFFUSE, PATH_RAY_DIFFUSE_ANCESTOR, PATH_RAY_GLOSSY, PATH_RAY_MIS_SKIP, PATH_RAY_REFLECT, PATH_RAY_SINGULAR, PATH_RAY_SURFACE_PASS, PATH_RAY_TERMINATE_AFTER_TRANSPARENT, PATH_RAY_TERMINATE_ON_NEXT_SURFACE, PATH_RAY_TRANSMIT, PATH_RAY_TRANSPARENT, PATH_RAY_TRANSPARENT_BACKGROUND, PATH_RAY_VOLUME_PASS, PATH_RAY_VOLUME_SCATTER, PRNG_BOUNCE_NUM, and state.
Referenced by integrate_surface_bsdf_bssrdf_bounce().
ccl_device_inline uint path_state_ray_visibility | ( | ConstIntegratorState | state | ) |
Definition at line 210 of file path_state.h.
References INTEGRATOR_STATE, PATH_RAY_ALL_VISIBILITY, PATH_RAY_DIFFUSE, PATH_RAY_GLOSSY, PATH_RAY_TRANSMIT, PATH_RAY_VOLUME_SCATTER, SHADOW_CATCHER_PATH_VISIBILITY, and state.
Referenced by integrator_intersect_closest().
ccl_device_inline float path_state_rng_1D | ( | KernelGlobals | kg, |
ccl_private const RNGState * | rng_state, | ||
int | dimension | ||
) |
Definition at line 299 of file path_state.h.
References path_rng_1D().
Referenced by integrator_intersect_terminate(), path_state_rng_light_termination(), and subsurface_random_walk().
ccl_device_inline float path_state_rng_1D_hash | ( | KernelGlobals | kg, |
ccl_private const RNGState * | rng_state, | ||
uint | hash | ||
) |
Definition at line 317 of file path_state.h.
References cmj_hash_simple(), hash, and path_rng_1D().
ccl_device_inline void path_state_rng_2D | ( | KernelGlobals | kg, |
ccl_private const RNGState * | rng_state, | ||
int | dimension, | ||
ccl_private float * | fx, | ||
ccl_private float * | fy | ||
) |
Definition at line 307 of file path_state.h.
References path_rng_2D().
Referenced by integrate_surface_bsdf_bssrdf_bounce(), subsurface_disk(), and subsurface_random_walk().
ccl_device_inline float path_state_rng_light_termination | ( | KernelGlobals | kg, |
ccl_private const RNGState * | state | ||
) |
Definition at line 359 of file path_state.h.
References kernel_data, path_state_rng_1D(), PRNG_LIGHT_TERMINATE, and state.
ccl_device_inline void path_state_rng_load | ( | ConstIntegratorState | state, |
ccl_private RNGState * | rng_state | ||
) |
Definition at line 283 of file path_state.h.
References INTEGRATOR_STATE, sample, and state.
Referenced by integrate_surface(), and integrator_intersect_terminate().
ccl_device_inline void shadow_path_state_rng_load | ( | ConstIntegratorShadowState | state, |
ccl_private RNGState * | rng_state | ||
) |
Definition at line 291 of file path_state.h.
References INTEGRATOR_STATE, sample, and state.