---
name: "rtcCommitGeometry"
section: "3embree4"
platform: "linux"
package: "embree"
version: "4.4.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/rtcCommitGeometry/3embree4"
---

# rtcCommitGeometry(3embree4)

### NAME

-

  ```
  rtcCommitGeometry - commits geometry changes
  ```

### SYNOPSIS

-

  ```
  #include <embree4/rtcore.h>
  void rtcCommitGeometry(RTCGeometry geometry);
  ```

### DESCRIPTION

The `rtcCommitGeometry` function is used to commit all geometry changes performed to a geometry (`geometry` parameter). After a geometry gets modified, this function must be called to properly update the internal state of the geometry to perform interpolations using `rtcInterpolate` or to commit a scene containing the geometry using `rtcCommitScene`.

### EXIT STATUS

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

### SEE ALSO

\[rtcInterpolate\], \[rtcCommitScene\]
