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