rtcDetachGeometry
- Provided by: libembree-dev (Version: 4.3.0+dfsg-2)
- Source: embree
- Report a bug
rtcDetachGeometry - detaches a geometry from the scene
#include <embree4/rtcore.h>
void rtcDetachGeometry(RTCScene scene, unsigned int geomID);
This function detaches a geometry identified by its geometry ID (geomID argument) from a scene (scene argument). When detached, the geometry is no longer contained in the scene.
This function is thread-safe, thus multiple threads can detach geometries from a scene at the same time.
On failure an error code is set that can be queried using rtcGetDeviceError.
[rtcAttachGeometry], [rtcAttachGeometryByID]