1rtcSetGeometryInstancedSceEnmebsr(e3e)Ray Tracing KerrnteclSset4GeometryInstancedScenes(3)
2
3
4
5   NAME
6              rtcSetGeometryInstancedScenes - sets an array of scenes that can be
7              instanced by an instance array geometry
8
9   SYNOPSIS
10              #include <embree4/rtcore.h>
11
12              void rtcSetGeometryInstancedScenes(
13                RTCGeometry geometry,
14                RTCScene* scene,
15                size_t numScenes
16              );
17
18   DESCRIPTION
19       The  rtcSetGeometryInstancedScenes  function sets an array of type RTC‐
20       Scene with numScenes elements that the specified instance geometry (ge‐
21       ometry  argument) can instance.  This call also requires setting an in‐
22       dex buffer using either rtcSetSharedGeometryBuffer  or  rtcSetNewGeome‐
23       tryBuffer  (similar  to index buffers for triangle meshes), that speci‐
24       fies which instance of the instance array instances which scene in  the
25       scene  array.  If only one scene should be instanced the call rtcSetGe‐
26       ometryInstancedScene should be preferred.
27
28   EXIT STATUS
29       On failure an error code is set that can  be  queried  using  rtcGetDe‐
30       viceError.
31
32   SEE ALSO
33       [RTC_GEOMETRY_TYPE_INSTANCE_ARRAY], [rtcSetNewGeometryBuffer], [rtcSet‐
34       SharedGeometryBuffer], [rtcSetGeometryInstancedScene]
35
36
37
38                                              rtcSetGeometryInstancedScenes(3)
Impressum