.\" Automatically generated by Pandoc 1.17.0.3 .\" .TH "rtcRetainGeometry" "3" "" "" "Embree Ray Tracing Kernels 3" .hy .SS NAME .IP .nf \f[C] rtcRetainGeometry\ \-\ increments\ the\ geometry\ reference\ count \f[] .fi .SS SYNOPSIS .IP .nf \f[C] #include\ void\ rtcRetainGeometry(RTCGeometry\ geometry); \f[] .fi .SS DESCRIPTION .PP Geometry objects are reference counted. The \f[C]rtcRetainGeometry\f[] function increments the reference count of the passed geometry object (\f[C]geometry\f[] argument). This function together with \f[C]rtcReleaseGeometry\f[] allows to use the internal reference counting in a C++ wrapper class to handle the ownership of the object. .SS EXIT STATUS .PP On failure an error code is set that can be queried using \f[C]rtcGetDeviceError\f[]. .SS SEE ALSO .PP [rtcNewGeometry], [rtcReleaseGeometry]