1rtcRetainBVH(3) Embree Ray Tracing Kernels 3 rtcRetainBVH(3)
2
3
4
5 NAME
6 rtcRetainBVH - increments the BVH reference count
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcRetainBVH(RTCBVH bvh);
12
13 DESCRIPTION
14 BVH objects are reference counted. The rtcRetainBVH function incre‐
15 ments the reference count of the passed BVH object (bvh argument).
16 This function together with rtcReleaseBVH allows to use the internal
17 reference counting in a C++ wrapper class to handle the ownership of
18 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 [rtcNewBVH], [rtcReleaseBVH]
26
27
28
29 rtcRetainBVH(3)