1rtcRetainDevice(3)       Embree Ray Tracing Kernels 3       rtcRetainDevice(3)
2
3
4
5   NAME
6              rtcRetainDevice - increments the device reference count
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              void rtcRetainDevice(RTCDevice device);
12
13   DESCRIPTION
14       Device  objects  are  reference  counted.  The rtcRetainDevice function
15       increments the reference count of  the  passed  device  object  (device
16       argument).   This function together with rtcReleaseDevice allows to use
17       the internal reference counting in a C++ wrapper class  to  manage  the
18       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       [rtcNewDevice], [rtcReleaseDevice]
26
27
28
29                                                            rtcRetainDevice(3)
Impressum