rtcRetainBVH(3)

rtcRetainBVH3

Name

rtcRetainBVH - increments the BVH reference count

Synopsis

#include <embree4/rtcore.h>
void rtcRetainBVH(RTCBVH bvh);

Description

BVH objects are reference counted. The rtcRetainBVH function increments the reference count of the passed BVH object (bvh argument). This function together with rtcReleaseBVH allows to use the internal reference counting in a C++ wrapper class to handle the ownership of the object.

Exit status

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

See also

[rtcNewBVH], [rtcReleaseBVH]

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.