1rtcFilterIntersection(3) Embree Ray Tracing Kernels 3 rtcFilterIntersection(3)
2
3
4
5 NAME
6 rtcFilterIntersection - invokes the intersection filter function
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcFilterIntersection(
12 const struct RTCIntersectFunctionNArguments* args,
13 const struct RTCFilterFunctionNArguments* filterArgs
14 );
15
16 DESCRIPTION
17 The rtcFilterIntersection function can be called inside an RTCInter‐
18 sectFunctionN callback function to invoke the intersection filter reg‐
19 istered to the geometry and stored inside the context. For this an
20 RTCFilterFunctionNArguments structure must be created (see rtcSetGeome‐
21 tryIntersectFilterFunction) which basically consists of a valid mask, a
22 hit packet to filter, the corresponding ray packet, and the packet
23 size. After the invocation of rtcFilterIntersection, only rays that
24 are still valid (valid mask set to -1) should update a hit.
25
26 EXIT STATUS
27 For performance reasons this function does not do any error checks,
28 thus will not set any error flags on failure.
29
30 SEE ALSO
31 [rtcFilterOcclusion], [rtcSetGeometryIntersectFunction]
32
33
34
35 rtcFilterIntersection(3)