|
Blender V5.3
|
#include "kernel/integrator/guiding.h"#include "kernel/integrator/shade_volume.h"#include "kernel/integrator/surface_shader.h"#include "kernel/integrator/volume_stack.h"#include "kernel/geom/shader_data.h"Go to the source code of this file.
Enumerations | |
| enum | TransparentShadowEvalResult { TRANSPARENT_SHADOW_EVAL_CONTINUE = 0 , TRANSPARENT_SHADOW_EVAL_OPAQUE = 1 , TRANSPARENT_SHADOW_EVAL_CACHE_MISS = 2 } |
Functions | |
| ccl_device_inline uint | shadow_num_hits_get (const uint packed_num_hits) |
| ccl_device_inline uint | shadow_resume_hit_get (const uint packed_num_hits) |
| ccl_device_inline bool | shadow_surface_cache_miss_get (const uint packed_num_hits) |
| ccl_device_inline uint | shadow_num_hits_pack (const uint num_hits, const uint resume_hit, const bool surface_hit) |
| ccl_device_inline bool | shadow_intersections_has_remaining (const uint packed_num_hits) |
| ccl_device void | integrator_shade_shadow (KernelGlobals kg, IntegratorShadowState state, ccl_global float *ccl_restrict render_buffer) |
| Enumerator | |
|---|---|
| TRANSPARENT_SHADOW_EVAL_CONTINUE | |
| TRANSPARENT_SHADOW_EVAL_OPAQUE | |
| TRANSPARENT_SHADOW_EVAL_CACHE_MISS | |
Definition at line 16 of file shade_shadow.h.
| ccl_device void integrator_shade_shadow | ( | KernelGlobals | kg, |
| IntegratorShadowState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 263 of file shade_shadow.h.
References ccl_device, ccl_global, ccl_restrict, DEVICE_KERNEL_INTEGRATOR_INTERSECT_SHADOW, DEVICE_KERNEL_INTEGRATOR_SHADE_SHADOW, film_write_direct_light(), guiding_record_direct_light(), integrator_shade_shadow(), integrator_shadow_path_cache_miss(), integrator_shadow_path_next(), integrator_shadow_path_terminate(), INTEGRATOR_STATE, kernel_assert, PROFILING_INIT, PROFILING_SHADE_SHADOW_SETUP, render_buffer, shadow_intersections_has_remaining(), state, TRANSPARENT_SHADOW_EVAL_CACHE_MISS, TRANSPARENT_SHADOW_EVAL_CONTINUE, and TRANSPARENT_SHADOW_EVAL_OPAQUE.
Referenced by integrator_megakernel(), and integrator_shade_shadow().
| ccl_device_inline bool shadow_intersections_has_remaining | ( | const uint | packed_num_hits | ) |
Definition at line 81 of file shade_shadow.h.
References ccl_device_inline, INTEGRATOR_SHADOW_ISECT_SIZE, shadow_intersections_has_remaining(), and shadow_num_hits_get().
Referenced by integrator_shade_shadow(), and shadow_intersections_has_remaining().
| ccl_device_inline uint shadow_num_hits_get | ( | const uint | packed_num_hits | ) |
Definition at line 35 of file shade_shadow.h.
References ccl_device_inline, and shadow_num_hits_get().
Referenced by shadow_intersections_has_remaining(), and shadow_num_hits_get().
| ccl_device_inline uint shadow_num_hits_pack | ( | const uint | num_hits, |
| const uint | resume_hit, | ||
| const bool | surface_hit ) |
Definition at line 64 of file shade_shadow.h.
References ccl_device_inline, kernel_assert, and shadow_num_hits_pack().
Referenced by shadow_num_hits_pack().
| ccl_device_inline uint shadow_resume_hit_get | ( | const uint | packed_num_hits | ) |
Definition at line 44 of file shade_shadow.h.
References ccl_device_inline, and shadow_resume_hit_get().
Referenced by shadow_resume_hit_get().
| ccl_device_inline bool shadow_surface_cache_miss_get | ( | const uint | packed_num_hits | ) |
Definition at line 54 of file shade_shadow.h.
References ccl_device_inline, and shadow_surface_cache_miss_get().
Referenced by shadow_surface_cache_miss_get().