Blender
V3.3
|
#include "kernel/bvh/bvh.h"
#include "kernel/geom/geom.h"
#include "kernel/integrator/shader_eval.h"
#include "kernel/integrator/volume_stack.h"
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device void | integrator_volume_stack_update_for_subsurface (KernelGlobals kg, IntegratorState state, const float3 from_P, const float3 to_P) |
ccl_device void | integrator_volume_stack_init (KernelGlobals kg, IntegratorState state) |
ccl_device void | integrator_intersect_volume_stack (KernelGlobals kg, IntegratorState state) |
ccl_device void integrator_intersect_volume_stack | ( | KernelGlobals | kg, |
IntegratorState | state | ||
) |
Definition at line 217 of file intersect_volume_stack.h.
References DEVICE_KERNEL_INTEGRATOR_INTERSECT_CLOSEST, DEVICE_KERNEL_INTEGRATOR_INTERSECT_VOLUME_STACK, integrator_path_next(), INTEGRATOR_STATE, integrator_volume_stack_init(), PATH_RAY_SHADOW_CATCHER_PASS, and state.
Referenced by integrator_megakernel().
ccl_device void integrator_volume_stack_init | ( | KernelGlobals | kg, |
IntegratorState | state | ||
) |
Definition at line 75 of file intersect_volume_stack.h.
References AS_SHADER_DATA, ccl_optional_struct_init, ccl_private, INTEGRATOR_STATE, INTEGRATOR_STATE_ARRAY_WRITE, integrator_state_read_ray(), integrator_state_read_volume_stack(), integrator_state_write_volume_stack(), intersection_t_offset(), intersections_compare(), kernel_data, make_float3, MAX_VOLUME_STACK_SIZE, Intersection::object, VolumeStack::object, OBJECT_NONE, PATH_RAY_CAMERA, PATH_RAY_SHADOW_CATCHER_PASS, Intersection::prim, PRIM_NONE, PROFILING_INIT, PROFILING_INTERSECT_VOLUME_STACK, SD_BACKFACING, SHADER_NONE, shader_setup_from_ray(), ShaderData, ShaderDataTinyStorage, SHADOW_CATCHER_PATH_VISIBILITY, state, and Intersection::t.
Referenced by integrator_intersect_volume_stack().
CCL_NAMESPACE_BEGIN ccl_device void integrator_volume_stack_update_for_subsurface | ( | KernelGlobals | kg, |
IntegratorState | state, | ||
const float3 | from_P, | ||
const float3 | to_P | ||
) |
Definition at line 13 of file intersect_volume_stack.h.
References AS_SHADER_DATA, ccl_optional_struct_init, ccl_private, INTEGRATOR_STATE, intersection_t_offset(), intersections_compare(), kernel_assert, kernel_data, MAX_VOLUME_STACK_SIZE, normalize_len(), Intersection::object, OBJECT_NONE, PATH_RAY_ALL_VISIBILITY, Intersection::prim, PRIM_NONE, PROFILING_INIT, PROFILING_INTERSECT_VOLUME_STACK, shader_setup_from_ray(), ShaderData, ShaderDataTinyStorage, SHADOW_CATCHER_PATH_VISIBILITY, state, Intersection::t, and volume_stack_enter_exit().