1rtcGetSceneFlags(3) Embree Ray Tracing Kernels 3 rtcGetSceneFlags(3)
2
3
4
5 NAME
6 rtcGetSceneFlags - returns the flags of the scene
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 enum RTCSceneFlags rtcGetSceneFlags(RTCScene scene);
12
13 DESCRIPTION
14 Queries the flags of a scene. This function can be useful when setting
15 individual flags, e.g. to just set the robust mode without changing
16 other flags the following way:
17
18 RTCSceneFlags flags = rtcGetSceneFlags(scene);
19 rtcSetSceneFlags(scene, RTC_SCENE_FLAG_ROBUST | flags);
20
21 EXIT STATUS
22 On failure RTC_SCENE_FLAG_NONE is returned and an error code is set
23 that can be queried using rtcGetDeviceError.
24
25 SEE ALSO
26 [rtcSetSceneFlags]
27
28
29
30 rtcGetSceneFlags(3)