1rtcReleaseBuffer(3) Embree Ray Tracing Kernels 3 rtcReleaseBuffer(3)
2
3
4
5 NAME
6 rtcReleaseBuffer - decrements the buffer reference count
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcReleaseBuffer(RTCBuffer buffer);
12
13 DESCRIPTION
14 Buffer objects are reference counted. The rtcReleaseBuffer function
15 decrements the reference count of the passed buffer object (buffer ar‐
16 gument). When the reference count falls to 0, the buffer gets de‐
17 stroyed.
18
19 EXIT STATUS
20 On failure an error code is set that can be queried using rtcGetDe‐
21 viceError.
22
23 SEE ALSO
24 [rtcNewBuffer], [rtcRetainBuffer]
25
26
27
28 rtcReleaseBuffer(3)