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

Function TutorialData_Destructor

tutorials/voronoi/voronoi_device.h:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33inline void TutorialData_Destructor(TutorialData* This)
34{
35 rtcReleaseScene (This->scene); This->scene = nullptr;
36 alignedFree(This->points); This->points = nullptr;
37 alignedFree(This->points_tmp); This->points_tmp = nullptr;
38 alignedFree(This->colors); This->colors = nullptr;
39}
40
41} // namespace embree

Callers 1

device_cleanupFunction · 0.70

Calls 2

rtcReleaseSceneFunction · 0.85
alignedFreeFunction · 0.85

Tested by

no test coverage detected