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

# rtcSetGeometryInstancedScene(3)

### 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\]
