Blender V5.3
intersect_filter.h File Reference

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)

Macro Definition Documentation

◆ BVH_PAYLOAD_BASE

#define BVH_PAYLOAD_BASE ( obj)
Value:
((obj).base)

Definition at line 52 of file intersect_filter.h.

◆ BVH_PAYLOAD_SUBCLASS

#define BVH_PAYLOAD_SUBCLASS ( cls,
base_cls )
Value:
struct cls

Definition at line 50 of file intersect_filter.h.

◆ BVH_PAYLOAD_SUBCLASS_DEFINE

#define BVH_PAYLOAD_SUBCLASS_DEFINE ( base_cls)
Value:
base_cls base;

Definition at line 51 of file intersect_filter.h.

◆ BVH_SHADOW_ALL_PAYLOAD_SUBCLASS

#define BVH_SHADOW_ALL_PAYLOAD_SUBCLASS ( cls,
base_cls )
Value:
BVH_PAYLOAD_SUBCLASS(cls, base_cls)
#define BVH_PAYLOAD_SUBCLASS(cls, base_cls)

Definition at line 78 of file intersect_filter.h.

Referenced by BVH_SHADOW_ALL_PAYLOAD_SUBCLASS().

◆ BVH_SHADOW_ALL_PAYLOAD_SUBCLASS_DEFINE

#define BVH_SHADOW_ALL_PAYLOAD_SUBCLASS_DEFINE ( base_cls)
Value:
#define BVH_PAYLOAD_SUBCLASS_DEFINE(base_cls)

Definition at line 79 of file intersect_filter.h.

Referenced by BVH_SHADOW_ALL_PAYLOAD_SUBCLASS().

Enumeration Type Documentation

◆ IntersectionTest

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.

Function Documentation

◆ bvh_shadow_all_anyhit_filter()

◆ BVH_SHADOW_ALL_PAYLOAD_SUBCLASS()

BVH_SHADOW_ALL_PAYLOAD_SUBCLASS ( BVHShadowAllPayload ,
BVHPayload  )

◆ bvh_volume_anyhit_triangle_filter()