1rtcInvokeOccludedFilterFroEmmGberoemeetRrayy(3T)racirntgcIKnevronkeelOscc4ludedFilterFromGeometry(3)
2
3
4
5 NAME
6 rtcInvokeOccludedFilterFromGeometry - invokes the occlusion
7 filter function from the geometry
8
9 SYNOPSIS
10 #include <embree4/rtcore.h>
11
12 void rtcInvokeOccludedFilterFromGeometry(
13 const struct RTCOccludedFunctionNArguments* args,
14 const struct RTCFilterFunctionNArguments* filterArgs
15 );
16
17 DESCRIPTION
18 The rtcInvokeOccludedFilterFromGeometry function can be called inside
19 an RTCOccludedFunctionN user geometry callback function to invoke the
20 occlusion 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 rtcInvokeOccludedFilterFromGeometry only rays
25 that are still valid (valid mask set to -1) should signal an occlusion.
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 [rtcInvokeIntersectFilterFromGeometry], [rtcSetGeometryOccludedFunc‐
33 tion]
34
35
36
37 rtcInvokeOccludedFilterFromGeometry(3)