Blender V5.0
bvh.h File Reference

Go to the source code of this file.

Macros

#define __BVH2__
#define IF_USING_EMBREE
#define IF_NOT_USING_EMBREE
#define BVH_FUNCTION_NAME   bvh_intersect
#define BVH_FUNCTION_FEATURES   BVH_POINTCLOUD

Functions

ccl_device_intersect bool scene_intersect (KernelGlobals kg, const ccl_private Ray *ray, const uint visibility, ccl_private Intersection *isect)
ccl_device_intersect bool scene_intersect_shadow (KernelGlobals kg, const ccl_private Ray *ray, const uint visibility)

Macro Definition Documentation

◆ __BVH2__

#define __BVH2__

Definition at line 29 of file kernel/bvh/bvh.h.

◆ BVH_FUNCTION_FEATURES

#define BVH_FUNCTION_FEATURES   BVH_POINTCLOUD

Definition at line 74 of file kernel/bvh/bvh.h.

◆ BVH_FUNCTION_NAME

#define BVH_FUNCTION_NAME   bvh_intersect

Definition at line 73 of file kernel/bvh/bvh.h.

◆ IF_NOT_USING_EMBREE

#define IF_NOT_USING_EMBREE

Definition at line 51 of file kernel/bvh/bvh.h.

Referenced by scene_intersect().

◆ IF_USING_EMBREE

#define IF_USING_EMBREE

Definition at line 50 of file kernel/bvh/bvh.h.

Referenced by scene_intersect().

Function Documentation

◆ scene_intersect()

◆ scene_intersect_shadow()

ccl_device_intersect bool scene_intersect_shadow ( KernelGlobals kg,
const ccl_private Ray * ray,
const uint visibility )

Definition at line 140 of file kernel/bvh/bvh.h.

References ccl_device_intersect, ccl_private, and scene_intersect().

Referenced by integrate_intersect_shadow_opaque().