1rtcRetainScene(3) Embree Ray Tracing Kernels 3 rtcRetainScene(3)
2
3
4
5 NAME
6 rtcRetainScene - increments the scene reference count
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcRetainScene(RTCScene scene);
12
13 DESCRIPTION
14 Scene objects are reference counted. The rtcRetainScene function in‐
15 crements the reference count of the passed scene object (scene argu‐
16 ment). This function together with rtcReleaseScene allows to use the
17 internal reference counting in a C++ wrapper class to handle the owner‐
18 ship 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 [rtcNewScene], [rtcReleaseScene]
26
27
28
29 rtcRetainScene(3)