1rtcGetGeometryUserData(3)Embree Ray Tracing Kernels 4rtcGetGeometryUserData(3)
2
3
4
5 NAME
6 rtcGetGeometryUserData - returns the user data pointer
7 of the geometry
8
9 SYNOPSIS
10 #include <embree4/rtcore.h>
11
12 void* rtcGetGeometryUserData(RTCGeometry geometry);
13
14 DESCRIPTION
15 The rtcGetGeometryUserData function queries the user data pointer pre‐
16 viously set with rtcSetGeometryUserData. When rtcSetGeometryUserData
17 was not called yet, NULL is returned.
18
19 This function is supposed to be used during rendering, but only sup‐
20 ported on the CPU and not inside SYCL kernels on the GPU. Inside a
21 SYCL kernel the rtcGetGeometryUserDataFromScene function has to get
22 used.
23
24 EXIT STATUS
25 On failure an error code is set that can be queried using rtcGetDe‐
26 viceError.
27
28 SEE ALSO
29 [rtcSetGeometryUserData], [rtcGetGeometryUserDataFromScene]
30
31
32
33 rtcGetGeometryUserData(3)