|
Blender V5.3
|
#include "kernel/closure/volume.h"#include "kernel/film/denoising_passes.h"#include "kernel/film/light_passes.h"#include "kernel/integrator/guiding.h"#include "kernel/integrator/intersect_closest.h"#include "kernel/integrator/path_state.h"#include "kernel/integrator/shadow_linking.h"#include "kernel/integrator/state.h"#include "kernel/integrator/state_flow.h"#include "kernel/integrator/volume_shader.h"#include "kernel/integrator/volume_stack.h"#include "kernel/light/light.h"#include "kernel/light/sample.h"#include "kernel/geom/shader_data.h"#include "kernel/sample/lcg.h"Go to the source code of this file.
Enumerations | |
| enum | VolumeIntegrateEvent { VOLUME_PATH_SCATTERED = 0 , VOLUME_PATH_ATTENUATED = 1 , VOLUME_PATH_MISSED = 2 , VOLUME_PATH_CACHE_MISS = 3 } |
Functions | |
| template<DeviceKernel volume_kernel> | |
| ccl_device_inline void | integrator_next_kernel_after_shade_volume (KernelGlobals kg, const IntegratorState state, ccl_global float *ccl_restrict render_buffer, const ccl_private Intersection *ccl_restrict isect, const VolumeIntegrateEvent event) |
| ccl_device void | integrator_shade_volume (KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer) |
| ccl_device void | integrator_shade_volume_ray_marching (KernelGlobals kg, IntegratorState state, ccl_global float *ccl_restrict render_buffer) |
| enum VolumeIntegrateEvent |
| Enumerator | |
|---|---|
| VOLUME_PATH_SCATTERED | |
| VOLUME_PATH_ATTENUATED | |
| VOLUME_PATH_MISSED | |
| VOLUME_PATH_CACHE_MISS | |
Definition at line 32 of file shade_volume.h.
| ccl_device_inline void integrator_next_kernel_after_shade_volume | ( | KernelGlobals | kg, |
| const IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer, | ||
| const ccl_private Intersection *ccl_restrict | isect, | ||
| const VolumeIntegrateEvent | event ) |
Definition at line 2975 of file shade_volume.h.
References ccl_device_inline, ccl_global, ccl_private, ccl_restrict, DEVICE_KERNEL_INTEGRATOR_INTERSECT_CLOSEST, integrator_intersect_next_kernel_after_volume(), integrator_next_kernel_after_shade_volume(), integrator_path_next(), integrator_path_terminate(), kernel_assert, render_buffer, state, VOLUME_PATH_ATTENUATED, VOLUME_PATH_MISSED, and VOLUME_PATH_SCATTERED.
Referenced by integrator_next_kernel_after_shade_volume(), integrator_shade_volume(), and integrator_shade_volume_ray_marching().
| ccl_device void integrator_shade_volume | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 3006 of file shade_volume.h.
References ccl_device, ccl_global, ccl_optional_struct_init, ccl_restrict, DEVICE_KERNEL_INTEGRATOR_SHADE_VOLUME, integrator_next_kernel_after_shade_volume(), integrator_path_cache_miss(), integrator_shade_volume(), render_buffer, state, and VOLUME_PATH_CACHE_MISS.
Referenced by integrator_megakernel(), and integrator_shade_volume().
| ccl_device void integrator_shade_volume_ray_marching | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 3026 of file shade_volume.h.
References ccl_device, ccl_global, ccl_optional_struct_init, ccl_restrict, DEVICE_KERNEL_INTEGRATOR_SHADE_VOLUME_RAY_MARCHING, integrator_next_kernel_after_shade_volume(), integrator_path_cache_miss(), integrator_shade_volume_ray_marching(), render_buffer, state, and VOLUME_PATH_CACHE_MISS.
Referenced by integrator_megakernel(), and integrator_shade_volume_ray_marching().