Blender V5.3
shade_shadow.h File Reference

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)

Enumeration Type Documentation

◆ TransparentShadowEvalResult

Enumerator
TRANSPARENT_SHADOW_EVAL_CONTINUE 
TRANSPARENT_SHADOW_EVAL_OPAQUE 
TRANSPARENT_SHADOW_EVAL_CACHE_MISS 

Definition at line 16 of file shade_shadow.h.

Function Documentation

◆ integrator_shade_shadow()

◆ shadow_intersections_has_remaining()

ccl_device_inline bool shadow_intersections_has_remaining ( const uint packed_num_hits)

◆ shadow_num_hits_get()

ccl_device_inline uint shadow_num_hits_get ( const uint packed_num_hits)

◆ shadow_num_hits_pack()

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().

◆ shadow_resume_hit_get()

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().

◆ shadow_surface_cache_miss_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().