1rtcInvokeIntersectFilterFrEommbGreeoemeRtaryy(T3r)acritncgInKveorkneeIlnste4rsectFilterFromGeometry(3)
2
3
4
5   NAME
6              rtcInvokeIntersectFilterFromGeometry - invokes the
7                intersection filter function from the geometry
8
9   SYNOPSIS
10              #include <embree4/rtcore.h>
11
12              void rtcInvokeIntersectFilterFromGeometry(
13                const struct RTCIntersectFunctionNArguments* args,
14                const struct RTCFilterFunctionNArguments* filterArgs
15              );
16
17   DESCRIPTION
18       The  rtcInvokeIntersectFilterFromGeometry function can be called inside
19       an RTCIntersectFunctionN user geometry callback function to invoke  the
20       intersection filter registered to the geometry.  For this an RTCFilter‐
21       FunctionNArguments structure must be created (see  rtcSetGeometryInter‐
22       sectFilterFunction)  which  basically  consists  of a valid mask, a hit
23       packet to filter, the corresponding ray packet, and  the  packet  size.
24       After the invocation of rtcInvokeIntersectFilterFromGeometry, only rays
25       that are still valid (valid mask set to -1) should update a hit.
26
27   EXIT STATUS
28       For performance reasons this function does not  do  any  error  checks,
29       thus will not set any error flags on failure.
30
31   SEE ALSO
32       [rtcInvokeOccludedFilterFromGeometry],    [rtcSetGeometryIntersectFunc‐
33       tion]
34
35
36
37                                       rtcInvokeIntersectFilterFromGeometry(3)
Impressum