Blender V5.0
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, const ccl_private 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, const ccl_private 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 (IntegratorShadowState state, const ccl_private Ray *ccl_restrict ray)
ccl_device_forceinline void integrator_state_read_shadow_ray_self (ConstIntegratorShadowState state, ccl_private Ray *ccl_restrict ray)
ccl_device_forceinline void integrator_state_write_isect (IntegratorState state, const ccl_private 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, const ccl_private 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)
ccl_device_inline int integrator_state_portal_bounce (KernelGlobals kg, ConstIntegratorState state, const int)
ccl_device_inline int integrator_state_portal_bounce (KernelGlobals kg, 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 480 of file state_util.h.

References ccl_device_inline, INTEGRATOR_STATE, and state.

◆ integrator_state_bounce() [2/2]

ccl_device_inline int integrator_state_bounce ( ConstIntegratorState state,
const int  )

Definition at line 475 of file state_util.h.

References ccl_device_inline, 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 492 of file state_util.h.

References ccl_device_inline, 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 486 of file state_util.h.

References ccl_device_inline, 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 504 of file state_util.h.

References ccl_device_inline, 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 498 of file state_util.h.

References ccl_device_inline, INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_portal_bounce() [1/2]

ccl_device_inline int integrator_state_portal_bounce ( KernelGlobals kg,
ConstIntegratorShadowState state,
const int  )

◆ integrator_state_portal_bounce() [2/2]

ccl_device_inline int integrator_state_portal_bounce ( KernelGlobals kg,
ConstIntegratorState state,
const int  )

◆ integrator_state_read_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 )

◆ integrator_state_read_shadow_ray()

◆ 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 516 of file state_util.h.

References ccl_device_inline, 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 510 of file state_util.h.

References ccl_device_inline, 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 528 of file state_util.h.

References ccl_device_inline, 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 522 of file state_util.h.

References ccl_device_inline, INTEGRATOR_STATE, and state.

Referenced by svm_node_light_path().

◆ integrator_state_write_isect()

◆ integrator_state_write_ray()

◆ integrator_state_write_shadow_isect()

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

◆ integrator_state_write_shadow_ray()

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

◆ integrator_state_write_shadow_ray_self()