|
Blender V5.3
|
#include "kernel/globals.h"#include "kernel/integrator/state.h"#include "kernel/light/common.h"#include "kernel/sample/lcg.h"#include "kernel/util/differential.h"Go to the source code of this file.
| ccl_device_inline int integrator_state_bounce | ( | ConstIntegratorShadowState | state, |
| const uint32_t | ) |
Definition at line 663 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_bounce(), and state.
| ccl_device_inline int integrator_state_bounce | ( | ConstIntegratorState | state, |
| const uint32_t | ) |
Definition at line 657 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_bounce(), and state.
Referenced by integrator_state_bounce(), integrator_state_bounce(), and svm_node_light_path().
| ccl_device_inline int integrator_state_diffuse_bounce | ( | ConstIntegratorShadowState | state, |
| const uint32_t | ) |
Definition at line 675 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_diffuse_bounce(), and state.
| ccl_device_inline int integrator_state_diffuse_bounce | ( | ConstIntegratorState | state, |
| const uint32_t | ) |
Definition at line 669 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_diffuse_bounce(), and state.
Referenced by integrator_state_diffuse_bounce(), integrator_state_diffuse_bounce(), and svm_node_light_path().
| ccl_device_inline int integrator_state_glossy_bounce | ( | ConstIntegratorShadowState | state, |
| const uint32_t | ) |
Definition at line 687 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_glossy_bounce(), and state.
| ccl_device_inline int integrator_state_glossy_bounce | ( | ConstIntegratorState | state, |
| const uint32_t | ) |
Definition at line 681 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_glossy_bounce(), and state.
Referenced by integrator_state_glossy_bounce(), integrator_state_glossy_bounce(), and svm_node_light_path().
| ccl_device_inline uint integrator_state_lcg_init | ( | ConstIntegratorBakeState | , |
| const uint | ) |
Definition at line 751 of file state_util.h.
References ccl_device_inline, and integrator_state_lcg_init().
| ccl_device_inline uint integrator_state_lcg_init | ( | ConstIntegratorShadowState | state, |
| const uint | hash ) |
Definition at line 735 of file state_util.h.
References ccl_device_inline, hash, INTEGRATOR_STATE, integrator_state_lcg_init(), lcg_state_init(), sample, and state.
Referenced by integrator_state_lcg_init(), integrator_state_lcg_init(), integrator_state_lcg_init(), and surface_shader_eval().
| ccl_device_inline uint integrator_state_lcg_init | ( | ConstIntegratorState | state, |
| const uint | hash ) |
Definition at line 743 of file state_util.h.
References ccl_device_inline, hash, INTEGRATOR_STATE, integrator_state_lcg_init(), lcg_state_init(), sample, and state.
| ccl_device_inline int integrator_state_portal_bounce | ( | KernelGlobals | kg, |
| ConstIntegratorShadowState | state, | ||
| const uint32_t | ) |
Definition at line 726 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_portal_bounce(), kernel_data, KERNEL_FEATURE_NODE_PORTAL, and state.
| ccl_device_inline int integrator_state_portal_bounce | ( | KernelGlobals | kg, |
| ConstIntegratorState | state, | ||
| const uint32_t | ) |
Definition at line 717 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_portal_bounce(), kernel_data, KERNEL_FEATURE_NODE_PORTAL, and state.
Referenced by integrator_state_portal_bounce(), integrator_state_portal_bounce(), and svm_node_light_path().
| ccl_device_forceinline void integrator_state_read_isect | ( | ConstIntegratorState | state, |
| ccl_private Intersection *ccl_restrict | isect ) |
Definition at line 179 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, INTEGRATOR_STATE, integrator_state_read_isect(), and state.
Referenced by integrate_light_forward(), integrate_surface_shader_setup(), and integrator_state_read_isect().
| ccl_device_forceinline void integrator_state_read_ray | ( | ConstIntegratorState | state, |
| ccl_private Ray *ccl_restrict | ray ) |
Definition at line 49 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, D, INTEGRATOR_STATE, integrator_state_read_ray(), P, and state.
Referenced by integrate_surface_shader_setup(), integrator_intersect_closest(), and integrator_state_read_ray().
| ccl_device_forceinline void integrator_state_read_shadow_isect | ( | ConstIntegratorShadowState | state, |
| ccl_private Intersection *ccl_restrict | isect, | ||
| const int | index ) |
Definition at line 297 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, index, INTEGRATOR_STATE_ARRAY, integrator_state_read_shadow_isect(), and state.
Referenced by integrator_state_read_shadow_isect().
| ccl_device_forceinline void integrator_state_read_shadow_ray | ( | ConstIntegratorShadowState | state, |
| ccl_private Ray *ccl_restrict | ray ) |
Definition at line 86 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, D, INTEGRATOR_STATE, integrator_state_read_shadow_ray(), P, and state.
Referenced by integrate_light_nee(), integrator_intersect_shadow(), and integrator_state_read_shadow_ray().
| ccl_device_forceinline void integrator_state_read_shadow_ray_self | ( | ConstIntegratorShadowState | state, |
| ccl_private Ray *ccl_restrict | ray ) |
Definition at line 136 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, INTEGRATOR_SHADOW_ISECT_SIZE, INTEGRATOR_STATE, INTEGRATOR_STATE_ARRAY, integrator_state_read_shadow_ray_self(), and state.
Referenced by integrate_light_nee(), integrator_intersect_shadow(), and integrator_state_read_shadow_ray_self().
| ccl_device_inline IntegratorState integrator_state_shadow_catcher_split | ( | KernelGlobals | kg, |
| IntegratorState | state ) |
Definition at line 634 of file state_util.h.
References atomic_fetch_and_add_uint32(), ccl_device_inline, ccl_restrict, integrator_state_shadow_catcher_split(), kernel_integrator_state, and state.
Referenced by integrator_state_shadow_catcher_split().
| ccl_device_inline int integrator_state_transmission_bounce | ( | ConstIntegratorShadowState | state, |
| const uint32_t | ) |
Definition at line 699 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_transmission_bounce(), and state.
| ccl_device_inline int integrator_state_transmission_bounce | ( | ConstIntegratorState | state, |
| const uint32_t | ) |
Definition at line 693 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_transmission_bounce(), and state.
Referenced by integrator_state_transmission_bounce(), integrator_state_transmission_bounce(), and svm_node_light_path().
| ccl_device_inline int integrator_state_transparent_bounce | ( | ConstIntegratorShadowState | state, |
| const uint32_t | ) |
Definition at line 711 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_transparent_bounce(), and state.
| ccl_device_inline int integrator_state_transparent_bounce | ( | ConstIntegratorState | state, |
| const uint32_t | ) |
Definition at line 705 of file state_util.h.
References ccl_device_inline, INTEGRATOR_STATE, integrator_state_transparent_bounce(), and state.
Referenced by integrator_state_transparent_bounce(), integrator_state_transparent_bounce(), and svm_node_light_path().
| ccl_device_forceinline void integrator_state_write_isect | ( | IntegratorState | state, |
| const ccl_private Intersection *ccl_restrict | isect ) |
Definition at line 149 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, INTEGRATOR_STATE_WRITE, integrator_state_write_isect(), offsetof, and state.
Referenced by integrator_init_from_bake(), integrator_intersect_closest(), and integrator_state_write_isect().
| CCL_NAMESPACE_BEGIN ccl_device_forceinline void integrator_state_write_ray | ( | IntegratorState | state, |
| const ccl_private Ray *ccl_restrict | ray ) |
Definition at line 25 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, D, INTEGRATOR_STATE_WRITE, integrator_state_write_ray(), P, and state.
Referenced by integrator_init_from_bake(), integrator_init_from_camera(), and integrator_state_write_ray().
| ccl_device_forceinline void integrator_state_write_shadow_isect | ( | IntegratorShadowState | state, |
| const ccl_private Intersection *ccl_restrict | isect, | ||
| const int | index ) |
Definition at line 284 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, index, INTEGRATOR_STATE_ARRAY_WRITE, integrator_state_write_shadow_isect(), and state.
Referenced by bvh_shadow_all_anyhit_filter(), and integrator_state_write_shadow_isect().
| ccl_device_forceinline void integrator_state_write_shadow_ray | ( | IntegratorShadowState | state, |
| const ccl_private Ray *ccl_restrict | ray ) |
Definition at line 74 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, D, INTEGRATOR_STATE_WRITE, integrator_state_write_shadow_ray(), P, and state.
Referenced by integrate_direct_light_shadow_init_common(), and integrator_state_write_shadow_ray().
| ccl_device_forceinline void integrator_state_write_shadow_ray_self | ( | IntegratorShadowState | state, |
| const ccl_private Ray *ccl_restrict | ray ) |
Definition at line 98 of file state_util.h.
References ccl_device_forceinline, ccl_private, ccl_restrict, INTEGRATOR_SHADOW_ISECT_SIZE, INTEGRATOR_STATE_ARRAY_WRITE, INTEGRATOR_STATE_WRITE, integrator_state_write_shadow_ray_self(), and state.
Referenced by integrate_direct_light_shadow_init_common(), and integrator_state_write_shadow_ray_self().