rtcSetSceneFlags(3) | Embree Ray Tracing Kernels 4 | rtcSetSceneFlags(3) |
rtcSetSceneFlags - sets the flags for the scene
#include <embree4/rtcore.h> enum RTCSceneFlags { RTC_SCENE_FLAG_NONE = 0, RTC_SCENE_FLAG_DYNAMIC = (1 << 0), RTC_SCENE_FLAG_COMPACT = (1 << 1), RTC_SCENE_FLAG_ROBUST = (1 << 2), RTC_SCENE_FLAG_FILTER_FUNCTION_IN_ARGUMENTS = (1 << 3) }; void rtcSetSceneFlags(RTCScene scene, enum RTCSceneFlags flags);
The rtcSetSceneFlags function sets the scene flags (flags argument) for the specified scene (scene argument). Possible scene flags are:
Multiple flags can be enabled using an or operation, e.g. RTC_SCENE_FLAG_COMPACT | RTC_SCENE_FLAG_ROBUST.
On failure an error code is set that can be queried using rtcGetDeviceError.
[rtcGetSceneFlags]