1rtcSetGeometryEnableFilterEFmubnrrcetteciSoRenatFyGreoTomrmAaerctgirunymgEennKatebsrl(ne3eF)lislt4erFunctionFromArguments(3)
2
3
4
5 NAME
6 rtcSetGeometryEnableFilterFunctionFromArguments - enables
7 argument filter functions for the geometry
8
9 SYNOPSIS
10 #include <embree4/rtcore.h>
11
12 void rtcSetGeometryEnableFilterFunctionFromArguments(
13 RTCGeometry geometry, bool enable);
14
15 DESCRIPTION
16 This function enables invokation the filter function passed through
17 RTCIntersectArguments or RTCOccludedArguments to the intersect and oc‐
18 cluded queries. If enable is true the argument filter function invoka‐
19 tion is enabled for the geometry or disabled otherwise. By default the
20 invokation of the argument filter function is disabled for some geome‐
21 try.
22
23 The argument filter function invokation can also get enforced for each
24 geometry by using the RTC_RAY_QUERY_FLAG_INVOKE_ARGUMENT_FILTER ray
25 query flag that can get passed to rtcIntersect and rtcOccluded func‐
26 tions. See Section [rtcInitIntersectArguments] and [rtcInitOccludedAr‐
27 guments] for more details.
28
29 In order to use the argument filter function for some scene, that fea‐
30 ture additionally has to get enabled using the RTC_SCENE_FLAG_FIL‐
31 TER_FUNCTION_IN_ARGUMENTS scene flag. See Section [rtcSetSceneFlags]
32 for more details.
33
34 EXIT STATUS
35 On failure an error code is set that can get queried using rtcGetDe‐
36 viceError.
37
38 SEE ALSO
39 [rtcInitIntersectArguments], [rtcInitOccludedArguments], [rtcSetScene‐
40 Flags]
41
42
43
44 rtcSetGeometryEnableFilterFunctionFromArguments(3)