DOKK / manpages / debian 13 / libembree-dev / rtcSetGeometryInstancedScene.3.en
rtcSetGeometryInstancedScene(3) Embree Ray Tracing Kernels 4 rtcSetGeometryInstancedScene(3)

rtcSetGeometryInstancedScene - sets the instanced scene of

an instance geometry

#include <embree4/rtcore.h>
void rtcSetGeometryInstancedScene(

RTCGeometry geometry,
RTCScene scene );

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

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

[RTC_GEOMETRY_TYPE_INSTANCE], [rtcSetGeometryTransform]