Blender V5.3
bvh.h File Reference

Go to the source code of this file.

Classes

struct  LocalPayload

Functions

ccl_device_forceinline void set_hiprt_ray (const ccl_private Ray &ray, ccl_private hiprtRay &ray_hip)
ccl_device_inline void set_intersect_point (const hiprtHit &hit, ccl_private Intersection *isect)
ccl_device_inline bool curve_custom_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit)
ccl_device_inline bool motion_triangle_custom_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit)
ccl_device_inline bool motion_triangle_custom_local_intersect (const hiprtRay &ray, LocalPayload *payload, hiprtHit &hit)
ccl_device_inline bool motion_triangle_custom_volume_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit)
ccl_device_inline bool point_custom_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit)
ccl_device_inline bool closest_intersection_filter (const hiprtRay &ray, BVHPayload *payload, const hiprtHit &hit)
ccl_device_inline bool shadow_intersection_filter (const hiprtRay &ray, BVHShadowAllPayload *payload, const hiprtHit &hit)
ccl_device_inline bool shadow_intersection_filter_curve (const hiprtRay &ray, BVHShadowAllPayload *payload, const hiprtHit &hit)
ccl_device_inline bool local_intersection_filter (const hiprtRay &ray, LocalPayload *payload, const hiprtHit &hit)
ccl_device_inline bool volume_triangle_intersection_filter (const hiprtRay &ray, BVHPayload *payload, const hiprtHit &hit)
HIPRT_DEVICE bool intersectFunc (const uint geom_type, const uint ray_type, const hiprtFuncTableHeader &tableHeader, const hiprtRay &ray, void *payload, hiprtHit &hit)
HIPRT_DEVICE bool filterFunc (const uint geom_type, const uint ray_type, const hiprtFuncTableHeader &tableHeader, const hiprtRay &ray, void *payload, const hiprtHit &hit)
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)

Function Documentation

◆ closest_intersection_filter()

ccl_device_inline bool closest_intersection_filter ( const hiprtRay & ray,
BVHPayload * payload,
const hiprtHit & hit )

◆ curve_custom_intersect()

◆ filterFunc()

◆ intersectFunc()

◆ local_intersection_filter()

◆ motion_triangle_custom_intersect()

◆ motion_triangle_custom_local_intersect()

◆ motion_triangle_custom_volume_intersect()

◆ point_custom_intersect()

◆ scene_intersect()

◆ scene_intersect_shadow()

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

◆ set_hiprt_ray()

ccl_device_forceinline void set_hiprt_ray ( const ccl_private Ray & ray,
ccl_private hiprtRay & ray_hip )

Definition at line 24 of file kernel/device/hiprt/bvh.h.

References ccl_device_forceinline, ccl_private, and set_hiprt_ray().

Referenced by scene_intersect(), and set_hiprt_ray().

◆ set_intersect_point()

◆ shadow_intersection_filter()

ccl_device_inline bool shadow_intersection_filter ( const hiprtRay & ray,
BVHShadowAllPayload * payload,
const hiprtHit & hit )

◆ shadow_intersection_filter_curve()

ccl_device_inline bool shadow_intersection_filter_curve ( const hiprtRay & ray,
BVHShadowAllPayload * payload,
const hiprtHit & hit )

◆ volume_triangle_intersection_filter()

ccl_device_inline bool volume_triangle_intersection_filter ( const hiprtRay & ray,
BVHPayload * payload,
const hiprtHit & hit )