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

# rtcSetGeometryInstancedScene(3embree4)

### NAME

-

  ```
  rtcSetGeometryInstancedScene - sets the instanced scene of
    an instance geometry
  ```

### SYNOPSIS

-

  ```
  #include <embree4/rtcore.h>
  void rtcSetGeometryInstancedScene(
    RTCGeometry geometry,
    RTCScene scene
  );
  ```

### DESCRIPTION

The `rtcSetGeometryInstancedScene` function sets the instanced scene (`scene` argument) of the specified instance geometry (`geometry` argument).

### EXIT STATUS

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

### SEE ALSO

\[RTC\_GEOMETRY\_TYPE\_INSTANCE\], \[rtcSetGeometryTransform\]
