DOKK / manpages / debian 12 / libembree-dev / rtcGetBufferData.3.en
rtcGetBufferData(3) Embree Ray Tracing Kernels 3 rtcGetBufferData(3)

rtcGetBufferData - gets a pointer to the buffer data
    

#include <embree3/rtcore.h>
void* rtcGetBufferData(RTCBuffer buffer);
    

The rtcGetBufferData function returns a pointer to the buffer data of the specified buffer object (buffer argument).

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

[rtcNewBuffer]