rtcReleaseGeometry(3) Embree Ray Tracing Kernels 4 rtcReleaseGeometry(3)

rtcReleaseGeometry - decrements the geometry reference count

#include <embree4/rtcore.h>
void rtcReleaseGeometry(RTCGeometry geometry);

Geometry objects are reference counted. The rtcReleaseGeometry function decrements the reference count of the passed geometry object (geometry argument). When the reference count falls to 0, the geometry gets destroyed.

On failure an error code is set that can be queried using rtcGetDeviceError.

[rtcNewGeometry], [rtcRetainGeometry]