1rtcDetachGeometry(3) Embree Ray Tracing Kernels 3 rtcDetachGeometry(3)
2
3
4
5 NAME
6 rtcDetachGeometry - detaches a geometry from the scene
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcDetachGeometry(RTCScene scene, unsigned int geomID);
12
13 DESCRIPTION
14 This function detaches a geometry identified by its geometry ID (geomID
15 argument) from a scene (scene argument). When detached, the geometry
16 is no longer contained in the scene.
17
18 This function is thread-safe, thus multiple threads can detach geome‐
19 tries from a scene at the same time.
20
21 EXIT STATUS
22 On failure an error code is set that can be queried using rtcGetDe‐
23 viceError.
24
25 SEE ALSO
26 [rtcAttachGeometry], [rtcAttachGeometryByID]
27
28
29
30 rtcDetachGeometry(3)