1rtcNewScene(3) Embree Ray Tracing Kernels 3 rtcNewScene(3)
2
3
4
5 NAME
6 rtcNewScene - creates a new scene
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 RTCScene rtcNewScene(RTCDevice device);
12
13 DESCRIPTION
14 This function creates a new scene bound to the specified device (device
15 argument), and returns a handle to this scene. The scene object is
16 reference counted with an initial reference count of 1. The scene han‐
17 dle can be released using the rtcReleaseScene API call.
18
19 EXIT STATUS
20 On success a scene handle is returned. On failure NULL is returned and
21 an error code is set that can be queried using rtcGetDeviceError.
22
23 SEE ALSO
24 [rtcRetainScene], [rtcReleaseScene]
25
26
27
28 rtcNewScene(3)