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

Function TutorialData_Destructor

tutorials/grid_geometry/grid_geometry_device.h:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void TutorialData_Destructor(TutorialData* This)
40{
41 alignedUSMFree(This->gmesh.normals);
42 rtcReleaseGeometry(This->gmesh.geom);
43 rtcReleaseGeometry(This->gmesh.geomNormals);
44 rtcReleaseScene (This->g_scene); This->g_scene = nullptr;
45}
46
47} // namespace embree

Callers 1

device_cleanupFunction · 0.70

Calls 3

alignedUSMFreeFunction · 0.85
rtcReleaseGeometryFunction · 0.85
rtcReleaseSceneFunction · 0.85

Tested by

no test coverage detected