1rtcGetGeometry(3)        Embree Ray Tracing Kernels 3        rtcGetGeometry(3)
2
3
4
5   NAME
6              rtcGetGeometry - returns the geometry bound to
7                the specified geometry ID
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              RTCGeometry rtcGetGeometry(RTCScene scene, unsigned int geomID);
13
14   DESCRIPTION
15       The  rtcGetGeometry  function returns the geometry that is bound to the
16       specified geometry ID (geomID argument) for the specified scene  (scene
17       argument).   This function just looks up the handle and does not incre‐
18       ment the reference count.  If you want to get ownership of the  handle,
19       you need to additionally call rtcRetainGeometry.  For this reason, this
20       function is fast and can be used during rendering.  However, it is gen‐
21       erally  recommended  to  store  the geometry handle inside the applica‐
22       tion's geometry representation and look up  the  geometry  handle  from
23       that representation directly.
24
25   EXIT STATUS
26       On  failure  NULL  is  returned  and  an  error code is set that can be
27       queried using rtcGetDeviceError.
28
29   SEE ALSO
30       [rtcAttachGeometry], [rtcAttachGeometryByID]
31
32
33
34                                                             rtcGetGeometry(3)
Impressum