1rtcSetGeometryUserData(3)Embree Ray Tracing Kernels 3rtcSetGeometryUserData(3)
2
3
4
5   NAME
6              rtcSetGeometryUserData - sets the user-defined data pointer of the
7                geometry
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              void rtcSetGeometryUserData(RTCGeometry geometry, void* userPtr);
13
14   DESCRIPTION
15       The  rtcSetGeometryUserData function sets the user-defined data pointer
16       (userPtr argument) for a geometry (geometry argument).  This user  data
17       pointer  is intended to be pointing to the application’s representation
18       of the geometry, and is passed to various callback functions.  The  ap‐
19       plication  can use this pointer inside the callback functions to access
20       its geometry representation.
21
22       The rtcGetGeometryUserData function can be used to query an already set
23       user data pointer of a geometry.
24
25   EXIT STATUS
26       On  failure  an  error  code is set that can be queried using rtcGetDe‐
27       viceError.
28
29   SEE ALSO
30       [rtcGetGeometryUserData]
31
32
33
34                                                     rtcSetGeometryUserData(3)
Impressum