Blender  V2.93
Functions
kernel_path_state.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline void path_state_init (KernelGlobals *kg, ShaderData *stack_sd, ccl_addr_space PathState *state, uint rng_hash, int sample, ccl_addr_space Ray *ray)
 
ccl_device_inline void path_state_next (KernelGlobals *kg, ccl_addr_space PathState *state, int label)
 
ccl_device_inline uint path_state_ray_visibility (KernelGlobals *kg, ccl_addr_space PathState *state)
 
ccl_device_inline float path_state_continuation_probability (KernelGlobals *kg, ccl_addr_space PathState *state, const float3 throughput)
 
ccl_device_inline void path_state_modify_bounce (ccl_addr_space PathState *state, bool increase)
 
ccl_device_inline bool path_state_ao_bounce (KernelGlobals *kg, ccl_addr_space PathState *state)
 
ccl_device_inline void path_state_branch (ccl_addr_space PathState *state, int branch, int num_branches)
 

Function Documentation

◆ path_state_ao_bounce()

ccl_device_inline bool path_state_ao_bounce ( KernelGlobals *  kg,
ccl_addr_space PathState state 
)

◆ path_state_branch()

ccl_device_inline void path_state_branch ( ccl_addr_space PathState state,
int  branch,
int  num_branches 
)

Definition at line 263 of file kernel_path_state.h.

References state.

◆ path_state_continuation_probability()

ccl_device_inline float path_state_continuation_probability ( KernelGlobals *  kg,
ccl_addr_space PathState state,
const float3  throughput 
)

◆ path_state_init()

CCL_NAMESPACE_BEGIN ccl_device_inline void path_state_init ( KernelGlobals *  kg,
ShaderData stack_sd,
ccl_addr_space PathState state,
uint  rng_hash,
int  sample,
ccl_addr_space Ray ray 
)

◆ path_state_modify_bounce()

ccl_device_inline void path_state_modify_bounce ( ccl_addr_space PathState state,
bool  increase 
)

◆ path_state_next()

ccl_device_inline void path_state_next ( KernelGlobals *  kg,
ccl_addr_space PathState state,
int  label 
)

◆ path_state_ray_visibility()

ccl_device_inline uint path_state_ray_visibility ( KernelGlobals *  kg,
ccl_addr_space PathState state 
)