MCPcopy Create free account
hub / github.com/carbonengine/trinity / DestroyData

Method DestroyData

trinity/Tr2RuntimeInstanceData.cpp:514–519  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Destroys instance data. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

512// Destroys instance data.
513// --------------------------------------------------------------------------------------
514void Tr2RuntimeInstanceData::DestroyData()
515{
516 g_sharedBuffer.Free( m_vb );
517 m_data.reset();
518 m_count = 0;
519}
520
521// --------------------------------------------------------------------------------------
522// Description:

Callers

nothing calls this directly

Calls 2

resetMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected