1rtcRetainGeometry(3)     Embree Ray Tracing Kernels 4     rtcRetainGeometry(3)
2
3
4
5   NAME
6              rtcRetainGeometry - increments the geometry reference count
7
8   SYNOPSIS
9              #include <embree4/rtcore.h>
10
11              void rtcRetainGeometry(RTCGeometry geometry);
12
13   DESCRIPTION
14       Geometry objects are reference counted.  The rtcRetainGeometry function
15       increments the reference count of the passed geometry object  (geometry
16       argument).   This  function  together with rtcReleaseGeometry allows to
17       use the internal reference counting in a C++ wrapper  class  to  handle
18       the ownership of the object.
19
20   EXIT STATUS
21       On  failure  an  error  code is set that can be queried using rtcGetDe‐
22       viceError.
23
24   SEE ALSO
25       [rtcNewGeometry], [rtcReleaseGeometry]
26
27
28
29                                                          rtcRetainGeometry(3)
Impressum