DOKK / manpages / debian 12 / libembree-dev / rtcCommitGeometry.3.en
rtcCommitGeometry(3) Embree Ray Tracing Kernels 3 rtcCommitGeometry(3)

rtcCommitGeometry - commits geometry changes
    

#include <embree3/rtcore.h>
void rtcCommitGeometry(RTCGeometry geometry);
    

The rtcCommitGeometry function is used to commit all geometry changes performed to a geometry (geometry parameter). After a geometry gets modified, this function must be called to properly update the internal state of the geometry to perform interpolations using rtcInterpolate or to commit a scene containing the geometry using rtcCommitScene.

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

[rtcInterpolate], [rtcCommitScene]