|
Blender V4.3
|
#include "kernel/sample/pattern.h"Go to the source code of this file.
Classes | |
| struct | RNGState |
Typedefs | |
| typedef struct RNGState | RNGState |
| typedef struct RNGState RNGState |
| ccl_device_inline float path_branched_rng_1D | ( | KernelGlobals | kg, |
| ccl_private const RNGState * | rng_state, | ||
| const int | branch, | ||
| const int | num_branches, | ||
| const int | dimension ) |
Definition at line 363 of file path_state.h.
References path_rng_1D().
| ccl_device_inline float2 path_branched_rng_2D | ( | KernelGlobals | kg, |
| ccl_private const RNGState * | rng_state, | ||
| const int | branch, | ||
| const int | num_branches, | ||
| const int | dimension ) |
Definition at line 375 of file path_state.h.
References path_rng_2D().
| ccl_device_inline float3 path_branched_rng_3D | ( | KernelGlobals | kg, |
| ccl_private const RNGState * | rng_state, | ||
| const int | branch, | ||
| const int | num_branches, | ||
| const int | dimension ) |
Definition at line 387 of file path_state.h.
References path_rng_3D().
| ccl_device_inline bool path_state_ao_bounce | ( | KernelGlobals | kg, |
| ConstIntegratorState | state ) |
Definition at line 287 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 259 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 25 of file path_state.h.
References INTEGRATOR_STATE_WRITE, KernelWorkTile::offset, path_state_init_queues(), state, KernelWorkTile::stride, and tile.
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_pixel ) |
Definition at line 38 of file path_state.h.
References flag, FLT_MAX, INTEGRATOR_STATE_ARRAY_WRITE, INTEGRATOR_STATE_WRITE, kernel_data, KERNEL_FEATURE_DENOISING, KERNEL_FEATURE_LIGHT_LINKING, KERNEL_FEATURE_VOLUME, OBJECT_NONE, one_spectrum, PATH_RAY_CAMERA, PATH_RAY_DENOISING_FEATURES, PATH_RAY_MIS_SKIP, PATH_RAY_TRANSPARENT_BACKGROUND, PRIM_NONE, PRNG_BOUNCE_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 14 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, | ||
| const int | label, | ||
| const int | shader_flag ) |
Definition at line 101 of file path_state.h.
References flag, INTEGRATOR_STATE, INTEGRATOR_STATE_WRITE, kernel_assert, kernel_data, label, LABEL_DIFFUSE, LABEL_GLOSSY, LABEL_RAY_PORTAL, 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_HAD_TRANSMISSION, 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, SD_BSDF_HAS_TRANSMISSION, SD_RAY_PORTAL, and state.
Referenced by integrate_surface_bsdf_bssrdf_bounce(), and integrate_surface_ray_portal().
| ccl_device_inline uint path_state_ray_visibility | ( | ConstIntegratorState | state | ) |
Definition at line 238 of file path_state.h.
References flag, 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, | ||
| const int | dimension ) |
Definition at line 339 of file path_state.h.
References path_rng_1D().
Referenced by integrator_intersect_terminate(), and path_state_rng_light_termination().
| ccl_device_inline float2 path_state_rng_2D | ( | KernelGlobals | kg, |
| ccl_private const RNGState * | rng_state, | ||
| const int | dimension ) |
Definition at line 347 of file path_state.h.
References path_rng_2D().
| ccl_device_inline float3 path_state_rng_3D | ( | KernelGlobals | kg, |
| ccl_private const RNGState * | rng_state, | ||
| const int | dimension ) |
Definition at line 355 of file path_state.h.
References path_rng_3D().
Referenced by integrate_surface_bsdf_bssrdf_bounce(), and integrate_surface_direct_light().
| ccl_device_inline float path_state_rng_light_termination | ( | KernelGlobals | kg, |
| ccl_private const RNGState * | state ) |
Definition at line 402 of file path_state.h.
References kernel_data, path_state_rng_1D(), PRNG_LIGHT_TERMINATE, and state.
Referenced by integrate_surface_direct_light().
| ccl_device_inline void path_state_rng_load | ( | ConstIntegratorState | state, |
| ccl_private RNGState * | rng_state ) |
Definition at line 315 of file path_state.h.
References INTEGRATOR_STATE, RNGState::rng_pixel, sample, and state.
Referenced by integrate_surface(), and integrator_intersect_terminate().
| ccl_device_inline void path_state_rng_scramble | ( | ccl_private RNGState * | rng_state, |
| const int | seed ) |
Definition at line 331 of file path_state.h.
References hash_hp_seeded_uint(), and seed.
| ccl_device_inline void shadow_path_state_rng_load | ( | ConstIntegratorShadowState | state, |
| ccl_private RNGState * | rng_state ) |
Definition at line 323 of file path_state.h.
References INTEGRATOR_STATE, sample, and state.