rtcDetachGeometry.3embree3 786 B

1234567891011121314151617181920212223242526272829303132
  1. .TH "rtcDetachGeometry" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcDetachGeometry\ \-\ detaches\ a\ geometry\ from\ the\ scene
  7. \f[]
  8. .fi
  9. .SS SYNOPSIS
  10. .IP
  11. .nf
  12. \f[C]
  13. #include\ <embree3/rtcore.h>
  14. void\ rtcDetachGeometry(RTCScene\ scene,\ unsigned\ int\ geomID);
  15. \f[]
  16. .fi
  17. .SS DESCRIPTION
  18. .PP
  19. This function detaches a geometry identified by its geometry ID
  20. (\f[C]geomID\f[] argument) from a scene (\f[C]scene\f[] argument).
  21. When detached, the geometry is no longer contained in the scene.
  22. .PP
  23. This function is thread\-safe, thus multiple threads can detach
  24. geometries from a scene at the same time.
  25. .SS EXIT STATUS
  26. .PP
  27. On failure an error code is set that can be queried using
  28. \f[C]rtcGetDeviceError\f[].
  29. .SS SEE ALSO
  30. .PP
  31. [rtcAttachGeometry], [rtcAttachGeometryByID]