---
name: "rtcGetBufferData"
section: "3"
platform: "linux"
package: "libembree-dev"
version: "4.3.3+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rtcGetBufferData"
---

# rtcGetBufferData(3)

### NAME

-

  ```
  rtcGetBufferData - gets a pointer to the buffer data
  ```

### SYNOPSIS

-

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

### DESCRIPTION

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

### EXIT STATUS

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

### SEE ALSO

\[rtcNewBuffer\]
