1rtcReleaseScene(3) Embree Ray Tracing Kernels 3 rtcReleaseScene(3)
2
3
4
5 NAME
6 rtcReleaseScene - decrements the scene reference count
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcReleaseScene(RTCScene scene);
12
13 DESCRIPTION
14 Scene objects are reference counted. The rtcReleaseScene function
15 decrements the reference count of the passed scene object (scene argu‐
16 ment). When the reference count falls to 0, the scene gets destroyed.
17
18 The scene holds a reference to all attached geometries, thus if the
19 scene gets destroyed, all geometries get detached and their reference
20 count decremented.
21
22 EXIT STATUS
23 On failure an error code is set that can be queried using rtcDe‐
24 viceGetError.
25
26 SEE ALSO
27 [rtcNewScene], [rtcRetainScene]
28
29
30
31 rtcReleaseScene(3)