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

Function device_cleanup

tutorials/forest/forest_device.cpp:571–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569
570/* called by the C++ code for cleanup */
571extern "C" void device_cleanup ()
572{
573 for (unsigned int i = 0; i < 6; ++i) {
574 if (scene_trees[i]) {
575 rtcReleaseScene(scene_trees[i]);
576 }
577 }
578 TutorialData_Destructor(&data);
579}
580
581} // namespace embree

Callers

nothing calls this directly

Calls 2

rtcReleaseSceneFunction · 0.85
TutorialData_DestructorFunction · 0.70

Tested by

no test coverage detected