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

Function DestroySkin

engine/modelc/src/modelimporter.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131static void DestroySkin(Skin* skin)
132{
133 free((void*)skin->m_Name);
134 for (uint32_t i = 0; i < skin->m_Bones.Size(); ++i)
135 DestroyBone(&skin->m_Bones[i]);
136 skin->m_Bones.SetCapacity(0);
137 skin->m_BoneRemap.SetCapacity(0);
138}
139
140static void DestroyNodeAnimation(NodeAnimation* node_animation)
141{

Callers 1

ClearSceneFunction · 0.85

Calls 4

freeFunction · 0.85
DestroyBoneFunction · 0.85
SizeMethod · 0.45
SetCapacityMethod · 0.45

Tested by

no test coverage detected