rtcReleaseBuffer(3)

rtcReleaseBuffer3

Name

rtcReleaseBuffer - decrements the buffer reference count

Synopsis

#include <embree4/rtcore.h>
void rtcReleaseBuffer(RTCBuffer buffer);

Description

Buffer objects are reference counted. The rtcReleaseBuffer function decrements the reference count of the passed buffer object (buffer argument). When the reference count falls to 0, the buffer gets destroyed.

Exit status

On failure an error code is set that can be queried using rtcGetDeviceError.

See also

[rtcNewBuffer], [rtcRetainBuffer]

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From libembree-dev 4.3.3+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.