|
Blender V5.3
|
#include "kernel/bvh/util.h"#include "kernel/globals.h"#include "kernel/integrator/state.h"#include "kernel/integrator/state_util.h"#include "kernel/types.h"Go to the source code of this file.
Classes | |
| struct | BVHPayload |
Macros | |
| #define | BVH_PAYLOAD_SUBCLASS(cls, base_cls) |
| #define | BVH_PAYLOAD_SUBCLASS_DEFINE(base_cls) |
| #define | BVH_PAYLOAD_BASE(obj) |
| #define | BVH_SHADOW_ALL_PAYLOAD_SUBCLASS(cls, base_cls) |
| #define | BVH_SHADOW_ALL_PAYLOAD_SUBCLASS_DEFINE(base_cls) |
Enumerations | |
| enum | IntersectionTest : uint { ISECT_TEST_NONE = 0 , ISECT_TEST_VISIBILITY_FLAG = (1 << 0) , ISECT_TEST_SHADOW_LINKING = (1 << 1) , ISECT_TEST_SELF_SHADOW = (1 << 2) , ISECT_TEST_ALL } |
Functions | |
| BVH_SHADOW_ALL_PAYLOAD_SUBCLASS (BVHShadowAllPayload, BVHPayload) | |
| template<uint perform_intersection_tests, uint enabled_primitive_types = PRIMITIVE_ALL> | |
| ccl_device_forceinline bool | bvh_shadow_all_anyhit_filter (KernelGlobals kg, IntegratorShadowState state, ccl_ray_data BVHShadowAllPayload &ccl_restrict payload, const ccl_ray_data RaySelfPrimitives &ccl_restrict ray_self, const uint ray_visibility, const Intersection isect) |
| template<bool do_visibility_check = true> | |
| ccl_device_forceinline bool | bvh_volume_anyhit_triangle_filter (KernelGlobals kg, const int object, const int prim, const ccl_ray_data RaySelfPrimitives &ccl_restrict ray_self, const uint ray_visibility) |
| #define BVH_PAYLOAD_BASE | ( | obj | ) |
Definition at line 52 of file intersect_filter.h.
| #define BVH_PAYLOAD_SUBCLASS | ( | cls, | |
| base_cls ) |
Definition at line 50 of file intersect_filter.h.
| #define BVH_PAYLOAD_SUBCLASS_DEFINE | ( | base_cls | ) |
Definition at line 51 of file intersect_filter.h.
| #define BVH_SHADOW_ALL_PAYLOAD_SUBCLASS | ( | cls, | |
| base_cls ) |
Definition at line 78 of file intersect_filter.h.
Referenced by BVH_SHADOW_ALL_PAYLOAD_SUBCLASS().
| #define BVH_SHADOW_ALL_PAYLOAD_SUBCLASS_DEFINE | ( | base_cls | ) |
Definition at line 79 of file intersect_filter.h.
Referenced by BVH_SHADOW_ALL_PAYLOAD_SUBCLASS().
| enum IntersectionTest : uint |
| Enumerator | |
|---|---|
| ISECT_TEST_NONE | |
| ISECT_TEST_VISIBILITY_FLAG | |
| ISECT_TEST_SHADOW_LINKING | |
| ISECT_TEST_SELF_SHADOW | |
| ISECT_TEST_ALL | |
Definition at line 31 of file intersect_filter.h.
| ccl_device_forceinline bool bvh_shadow_all_anyhit_filter | ( | KernelGlobals | kg, |
| IntegratorShadowState | state, | ||
| ccl_ray_data BVHShadowAllPayload &ccl_restrict | payload, | ||
| const ccl_ray_data RaySelfPrimitives &ccl_restrict | ray_self, | ||
| const uint | ray_visibility, | ||
| const Intersection | isect ) |
Definition at line 131 of file intersect_filter.h.
References bvh_shadow_all_anyhit_filter(), ccl_device_forceinline, ccl_ray_data, ccl_restrict, CURVE_SHADOW_TRANSPARENCY_CUTOFF, INTEGRATOR_SHADOW_ISECT_SIZE, INTEGRATOR_STATE_ARRAY, integrator_state_write_shadow_isect(), intersection_curve_shadow_transparency(), intersection_get_shader_flags(), intersection_skip_self_shadow(), intersection_skip_shadow_already_recoded(), intersection_skip_shadow_link(), ISECT_TEST_SELF_SHADOW, ISECT_TEST_SHADOW_LINKING, ISECT_TEST_VISIBILITY_FLAG, kernel_data_fetch, Intersection::object, Intersection::prim, PRIMITIVE_ALL, PRIMITIVE_CURVE, reduce_max(), SD_HAS_ONLY_VOLUME, SD_HAS_TRANSPARENT_SHADOW, state, Intersection::t, Intersection::type, Intersection::u, and zero_float3().
Referenced by __anyhit__kernel_optix_shadow_all_hit(), BVH(), bvh_shadow_all_anyhit_filter(), kernel_embree_custom_occluded_func_impl(), kernel_embree_filter_occluded_shadow_all_func_impl(), shadow_intersection_filter(), and shadow_intersection_filter_curve().
| BVH_SHADOW_ALL_PAYLOAD_SUBCLASS | ( | BVHShadowAllPayload | , |
| BVHPayload | ) |
Definition at line 82 of file intersect_filter.h.
References BVH_SHADOW_ALL_PAYLOAD_SUBCLASS, BVH_SHADOW_ALL_PAYLOAD_SUBCLASS_DEFINE, one_float3(), and state.
| ccl_device_forceinline bool bvh_volume_anyhit_triangle_filter | ( | KernelGlobals | kg, |
| const int | object, | ||
| const int | prim, | ||
| const ccl_ray_data RaySelfPrimitives &ccl_restrict | ray_self, | ||
| const uint | ray_visibility ) |
Definition at line 279 of file intersect_filter.h.
References bvh_volume_anyhit_triangle_filter(), ccl_device_forceinline, ccl_ray_data, ccl_restrict, intersection_skip_self(), kernel_data_fetch, SD_HAS_VOLUME, SD_OBJECT_HAS_VOLUME, and SHADER_MASK.
Referenced by __anyhit__kernel_optix_volume_test(), BVH(), BVH(), bvh_volume_anyhit_triangle_filter(), kernel_embree_filter_occluded_volume_all_func_impl(), motion_triangle_custom_volume_intersect(), and volume_triangle_intersection_filter().