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
15 increments the reference count of the passed buffer object (buffer
16 argument). This function together with rtcReleaseBuffer allows to use
17 the internal reference counting in a C++ wrapper class to handle 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 [rtcNewBuffer], [rtcReleaseBuffer]
26
27
28
29 rtcRetainBuffer(3)