1rtcSetSceneFlags(3) Embree Ray Tracing Kernels 3 rtcSetSceneFlags(3)
2
3
4
5 NAME
6 rtcSetSceneFlags - sets the flags for the scene
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcSetSceneFlags(RTCScene scene, enum RTCSceneFlags flags);
12
13 DESCRIPTION
14 The rtcSetSceneFlags function sets the scene flags (flags argument) for
15 the specified scene (scene argument). Possible scene flags are:
16
17 · RTC_SCENE_FLAG_NONE: No flags set.
18
19 · RTC_SCENE_FLAG_DYNAMIC: Provides better build performance for dynamic
20 scenes (but also higher memory consumption).
21
22 · RTC_SCENE_FLAG_COMPACT: Uses compact acceleration structures and
23 avoids algorithms that consume much memory.
24
25 · RTC_SCENE_FLAG_ROBUST: Uses acceleration structures that allow for
26 robust traversal, and avoids optimizations that reduce arithmetic ac‐
27 curacy. This mode is typically used for avoiding artifacts caused by
28 rays shooting through edges of neighboring primitives.
29
30 · RTC_SCENE_FLAG_CONTEXT_FILTER_FUNCTION: Enables support for a filter
31 function inside the intersection context for this scene. See Section
32 [rtcInitIntersectContext] for more details.
33
34 Multiple flags can be enabled using an or operation, e.g.
35 RTC_SCENE_FLAG_COMPACT | RTC_SCENE_FLAG_ROBUST.
36
37 EXIT STATUS
38 On failure an error code is set that can be queried using rtcGetDe‐
39 viceError.
40
41 SEE ALSO
42 [rtcGetSceneFlags]
43
44
45
46 rtcSetSceneFlags(3)