rtcReleaseGeometry.3embree3 700 B

123456789101112131415161718192021222324252627282930
  1. .TH "rtcReleaseGeometry" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcReleaseGeometry\ \-\ decrements\ the\ geometry\ reference\ count
  7. \f[]
  8. .fi
  9. .SS SYNOPSIS
  10. .IP
  11. .nf
  12. \f[C]
  13. #include\ <embree3/rtcore.h>
  14. void\ rtcReleaseGeometry(RTCGeometry\ geometry);
  15. \f[]
  16. .fi
  17. .SS DESCRIPTION
  18. .PP
  19. Geometry objects are reference counted.
  20. The \f[C]rtcReleaseGeometry\f[] function decrements the reference count
  21. of the passed geometry object (\f[C]geometry\f[] argument).
  22. When the reference count falls to 0, the geometry gets destroyed.
  23. .SS EXIT STATUS
  24. .PP
  25. On failure an error code is set that can be queried using
  26. \f[C]rtcGetDeviceError\f[].
  27. .SS SEE ALSO
  28. .PP
  29. [rtcNewGeometry], [rtcRetainGeometry]