MCPcopy Create free account
hub / github.com/defold/defold / DestroyAnimation

Function DestroyAnimation

engine/modelc/src/modelimporter.cpp:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150static void DestroyAnimation(Animation* animation)
151{
152 free((void*)animation->m_Name);
153 for (uint32_t i = 0; i < animation->m_NodeAnimations.Size(); ++i)
154 DestroyNodeAnimation(&animation->m_NodeAnimations[i]);
155 animation->m_NodeAnimations.SetCapacity(0);
156}
157
158static void DestroyMaterial(Material* material)
159{

Callers 1

ClearSceneFunction · 0.85

Calls 4

freeFunction · 0.85
DestroyNodeAnimationFunction · 0.85
SizeMethod · 0.45
SetCapacityMethod · 0.45

Tested by

no test coverage detected