Blender V4.3
state_util.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_forceinline void integrator_state_write_ray (IntegratorState state, ccl_private const Ray *ccl_restrict ray)
 
ccl_device_forceinline void integrator_state_read_ray (ConstIntegratorState state, ccl_private Ray *ccl_restrict ray)
 
ccl_device_forceinline void integrator_state_write_shadow_ray (IntegratorShadowState state, ccl_private const Ray *ccl_restrict ray)
 
ccl_device_forceinline void integrator_state_read_shadow_ray (ConstIntegratorShadowState state, ccl_private Ray *ccl_restrict ray)
 
ccl_device_forceinline void integrator_state_write_shadow_ray_self (KernelGlobals kg, IntegratorShadowState state, ccl_private const Ray *ccl_restrict ray)
 
ccl_device_forceinline void integrator_state_read_shadow_ray_self (KernelGlobals kg, ConstIntegratorShadowState state, ccl_private Ray *ccl_restrict ray)
 
ccl_device_forceinline void integrator_state_write_isect (IntegratorState state, ccl_private const Intersection *ccl_restrict isect)
 
ccl_device_forceinline void integrator_state_read_isect (ConstIntegratorState state, ccl_private Intersection *ccl_restrict isect)
 
ccl_device_forceinline void integrator_state_write_shadow_isect (IntegratorShadowState state, ccl_private const Intersection *ccl_restrict isect, const int index)
 
ccl_device_forceinline void integrator_state_read_shadow_isect (ConstIntegratorShadowState state, ccl_private Intersection *ccl_restrict isect, const int index)
 
ccl_device_inline IntegratorState integrator_state_shadow_catcher_split (KernelGlobals kg, IntegratorState state)
 
ccl_device_inline int integrator_state_bounce (ConstIntegratorState state, const int)
 
ccl_device_inline int integrator_state_bounce (ConstIntegratorShadowState state, const int)
 
ccl_device_inline int integrator_state_diffuse_bounce (ConstIntegratorState state, const int)
 
ccl_device_inline int integrator_state_diffuse_bounce (ConstIntegratorShadowState state, const int)
 
ccl_device_inline int integrator_state_glossy_bounce (ConstIntegratorState state, const int)
 
ccl_device_inline int integrator_state_glossy_bounce (ConstIntegratorShadowState state, const int)
 
ccl_device_inline int integrator_state_transmission_bounce (ConstIntegratorState state, const int)
 
ccl_device_inline int integrator_state_transmission_bounce (ConstIntegratorShadowState state, const int)
 
ccl_device_inline int integrator_state_transparent_bounce (ConstIntegratorState state, const int)
 
ccl_device_inline int integrator_state_transparent_bounce (ConstIntegratorShadowState state, const int)
 

Function Documentation

◆ integrator_state_bounce() [1/2]

ccl_device_inline int integrator_state_bounce ( ConstIntegratorShadowState state,
const int  )

Definition at line 459 of file state_util.h.

References INTEGRATOR_STATE, and state.

◆ integrator_state_bounce() [2/2]

ccl_device_inline int integrator_state_bounce ( ConstIntegratorState state,
const int  )

Definition at line 454 of file state_util.h.

References INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_diffuse_bounce() [1/2]

ccl_device_inline int integrator_state_diffuse_bounce ( ConstIntegratorShadowState state,
const int  )

Definition at line 469 of file state_util.h.

References INTEGRATOR_STATE, and state.

◆ integrator_state_diffuse_bounce() [2/2]

ccl_device_inline int integrator_state_diffuse_bounce ( ConstIntegratorState state,
const int  )

Definition at line 464 of file state_util.h.

References INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_glossy_bounce() [1/2]

ccl_device_inline int integrator_state_glossy_bounce ( ConstIntegratorShadowState state,
const int  )

Definition at line 479 of file state_util.h.

References INTEGRATOR_STATE, and state.

◆ integrator_state_glossy_bounce() [2/2]

ccl_device_inline int integrator_state_glossy_bounce ( ConstIntegratorState state,
const int  )

Definition at line 474 of file state_util.h.

References INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_read_isect()

ccl_device_forceinline void integrator_state_read_isect ( ConstIntegratorState state,
ccl_private Intersection *ccl_restrict isect )

◆ integrator_state_read_ray()

◆ integrator_state_read_shadow_isect()

ccl_device_forceinline void integrator_state_read_shadow_isect ( ConstIntegratorShadowState state,
ccl_private Intersection *ccl_restrict isect,
const int index )

Definition at line 276 of file state_util.h.

References INTEGRATOR_STATE_ARRAY, state, and v.

◆ integrator_state_read_shadow_ray()

ccl_device_forceinline void integrator_state_read_shadow_ray ( ConstIntegratorShadowState state,
ccl_private Ray *ccl_restrict ray )

Definition at line 84 of file state_util.h.

References differential_zero_compact(), INTEGRATOR_STATE, P, and state.

Referenced by integrator_intersect_shadow().

◆ integrator_state_read_shadow_ray_self()

◆ integrator_state_shadow_catcher_split()

ccl_device_inline IntegratorState integrator_state_shadow_catcher_split ( KernelGlobals kg,
IntegratorState state )

◆ integrator_state_transmission_bounce() [1/2]

ccl_device_inline int integrator_state_transmission_bounce ( ConstIntegratorShadowState state,
const int  )

Definition at line 489 of file state_util.h.

References INTEGRATOR_STATE, and state.

◆ integrator_state_transmission_bounce() [2/2]

ccl_device_inline int integrator_state_transmission_bounce ( ConstIntegratorState state,
const int  )

Definition at line 484 of file state_util.h.

References INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_transparent_bounce() [1/2]

ccl_device_inline int integrator_state_transparent_bounce ( ConstIntegratorShadowState state,
const int  )

Definition at line 500 of file state_util.h.

References INTEGRATOR_STATE, and state.

◆ integrator_state_transparent_bounce() [2/2]

ccl_device_inline int integrator_state_transparent_bounce ( ConstIntegratorState state,
const int  )

Definition at line 495 of file state_util.h.

References INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_write_isect()

ccl_device_forceinline void integrator_state_write_isect ( IntegratorState state,
ccl_private const Intersection *ccl_restrict isect )

◆ integrator_state_write_ray()

CCL_NAMESPACE_BEGIN ccl_device_forceinline void integrator_state_write_ray ( IntegratorState state,
ccl_private const Ray *ccl_restrict ray )

Definition at line 15 of file state_util.h.

References ccl_private, INTEGRATOR_STATE_WRITE, offsetof, P, and state.

Referenced by integrator_init_from_bake(), and integrator_init_from_camera().

◆ integrator_state_write_shadow_isect()

ccl_device_forceinline void integrator_state_write_shadow_isect ( IntegratorShadowState state,
ccl_private const Intersection *ccl_restrict isect,
const int index )

Definition at line 263 of file state_util.h.

References INTEGRATOR_STATE_ARRAY_WRITE, state, and v.

Referenced by BVH(), and kernel_embree_filter_occluded_shadow_all_func_impl().

◆ integrator_state_write_shadow_ray()

ccl_device_forceinline void integrator_state_write_shadow_ray ( IntegratorShadowState state,
ccl_private const Ray *ccl_restrict ray )

Definition at line 73 of file state_util.h.

References INTEGRATOR_STATE_WRITE, P, and state.

Referenced by integrate_direct_light_shadow_init_common().

◆ integrator_state_write_shadow_ray_self()