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

Function TutorialData_Destructor

tutorials/ray_mask/ray_mask_device.h:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25inline void TutorialData_Destructor(TutorialData* This)
26{
27 rtcReleaseScene (This->g_scene); This->g_scene = nullptr;
28 alignedUSMFree(This->face_colors); This->face_colors = nullptr;
29 alignedUSMFree(This->vertex_colors); This->vertex_colors = nullptr;
30}
31
32} // namespace embree

Callers 1

device_cleanupFunction · 0.70

Calls 2

rtcReleaseSceneFunction · 0.85
alignedUSMFreeFunction · 0.85

Tested by

no test coverage detected