1rtcGetGeometryThreadSafe(3E)mbree Ray Tracing Kernelsr3tcGetGeometryThreadSafe(3)
2
3
4
5   NAME
6              rtcGetGeometryThreadSafe - returns the geometry bound to
7                the specified geometry ID
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              RTCGeometry rtcGetGeometryThreadSafe(RTCScene scene, unsigned int geomID);
13
14   DESCRIPTION
15       The  rtcGetGeometryThreadSafe  function  returns  the  geometry that is
16       bound to the specified geometry ID (geomID argument) for the  specified
17       scene  (scene  argument).   This  function just looks up the handle and
18       does not increment the reference count.  If you want to  get  ownership
19       of the handle, you need to additionally call rtcRetainGeometry.
20
21       This  function is thread safe and should NOT get used during rendering.
22       If you need a fast non-thread safe version during rendering please  use
23       the [rtcGetGeometry] function.
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], [rtcGetGeometry]
31
32
33
34                                                   rtcGetGeometryThreadSafe(3)
Impressum