rtcGetSceneFlags.3embree3 785 B

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