1rtcRetainBuffer(3)       Embree Ray Tracing Kernels 3       rtcRetainBuffer(3)
2
3
4
5   NAME
6              rtcRetainBuffer - increments the buffer reference count
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              void rtcRetainBuffer(RTCBuffer buffer);
12
13   DESCRIPTION
14       Buffer objects are reference counted.  The rtcRetainBuffer function in‐
15       crements the reference count of the passed buffer object (buffer  argu‐
16       ment).   This function together with rtcReleaseBuffer allows to use the
17       internal reference counting in a C++ wrapper class to handle 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       [rtcNewBuffer], [rtcReleaseBuffer]
26
27
28
29                                                            rtcRetainBuffer(3)
Impressum