MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcSetGeometryInstancedScene

Function rtcSetGeometryInstancedScene

kernels/common/rtcore.cpp:1385–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1383 }
1384
1385 RTC_API void rtcSetGeometryInstancedScene(RTCGeometry hgeometry, RTCScene hscene)
1386 {
1387 Geometry* geometry = (Geometry*) hgeometry;
1388 Ref<Scene> scene = (Scene*) hscene;
1389 RTC_CATCH_BEGIN;
1390 RTC_TRACE(rtcSetGeometryInstancedScene);
1391 RTC_VERIFY_HANDLE(hgeometry);
1392 RTC_VERIFY_HANDLE(hscene);
1393 geometry->setInstancedScene(scene);
1394 RTC_CATCH_END2(geometry);
1395 }
1396
1397 RTC_API void rtcSetGeometryInstancedScenes(RTCGeometry hgeometry, RTCScene* scenes, size_t numScenes)
1398 {

Callers 14

device_initFunction · 0.85
addInstancedTriangleCubeFunction · 0.85
addInstancedQuadCubeFunction · 0.85
addGeometryMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
device_initFunction · 0.85
device_initFunction · 0.85
update_instance_scenesFunction · 0.85
rebuild_instancesFunction · 0.85
commitMethod · 0.85

Calls 1

setInstancedSceneMethod · 0.45

Tested by

no test coverage detected