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

rtcGetGeometryUserData - returns the user data pointer

of the geometry

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

The rtcGetGeometryUserData function queries the user data pointer previously set with rtcSetGeometryUserData. When rtcSetGeometryUserData was not called yet, NULL is returned.

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

[rtcSetGeometryUserData]