rtcGetGeometryBufferData(3) Embree Ray Tracing Kernels 4 rtcGetGeometryBufferData(3)

rtcGetGeometryBufferData - gets pointer to
  the first buffer view element

#include <embree4/rtcore.h>
void* rtcGetGeometryBufferData(
  RTCGeometry geometry,
  enum RTCBufferType type,
  unsigned int slot
);

The rtcGetGeometryBufferData function returns a pointer to the first element of the buffer view attached to the specified buffer type and slot (type and slot argument) of the geometry (geometry argument).

If the device associated with geometry is a SYCL device, the returned pointer only accessible on the host. The function rtcGetGeometryBufferDataDevice can be used to get a pointer accessible on the SYCL device. #### EXIT STATUS

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

[rtcGetGeometryBufferDataDevice], [rtcSetGeometryBuffer], [rtcSetSharedGeometryBuffer], [rtcSetNewGeometryBuffer]