1rtcFilterOcclusion(3)    Embree Ray Tracing Kernels 3    rtcFilterOcclusion(3)
2
3
4
5   NAME
6              rtcFilterOcclusion - invokes the occlusion filter function
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              void rtcFilterOcclusion(
12                const struct RTCOccludedFunctionNArguments* args,
13                const struct RTCFilterFunctionNArguments* filterArgs
14              );
15
16   DESCRIPTION
17       The  rtcFilterOcclusion  function  can be called inside an RTCOccluded‐
18       FunctionN callback function to invoke the occlusion  filter  registered
19       to  the geometry and stored inside the context.  For this an RTCFilter‐
20       FunctionNArguments structure must be created (see  rtcSetGeometryInter‐
21       sectFilterFunction)  which  basically  consists  of a valid mask, a hit
22       packet to filter, the corresponding ray packet, and  the  packet  size.
23       After  the  invocation  of  rtcFilterOcclusion only rays that are still
24       valid (valid mask set to -1) should signal an occlusion.
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       [rtcFilterIntersection], [rtcSetGeometryOccludedFunction]
32
33
34
35                                                         rtcFilterOcclusion(3)
Impressum