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

Function TutorialData_Destructor

tutorials/dynamic_scene/dynamic_scene_device.h:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void TutorialData_Destructor(TutorialData* This)
41{
42 rtcReleaseScene (This->g_scene); This->g_scene = nullptr;
43 alignedUSMFree(This->position); This->position = nullptr;
44 alignedUSMFree(This->colors); This->colors = nullptr;
45 alignedUSMFree(This->radius); This->radius = nullptr;
46}
47
48
49} // namespace embree

Callers 1

device_cleanupFunction · 0.70

Calls 2

rtcReleaseSceneFunction · 0.85
alignedUSMFreeFunction · 0.85

Tested by

no test coverage detected