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

Function InstanceDestroy

engine/rig/src/rig.cpp:1810–1818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1808 }
1809
1810 Result InstanceDestroy(HRigContext context, HRigInstance instance)
1811 {
1812 if (!context || !instance) {
1813 return dmRig::RESULT_ERROR;
1814 }
1815
1816 DestroyInstance(context, instance->m_Index);
1817 return dmRig::RESULT_OK;
1818 }
1819
1820 void CopyBindPose(dmRigDDF::Skeleton& skeleton, dmArray<RigBone>& bind_pose)
1821 {

Callers 6

TearDownMethod · 0.50
TearDownMethod · 0.50
TEST_FFunction · 0.50
TESTFunction · 0.50
DestroyComponentFunction · 0.50
OnResourceReloadedFunction · 0.50

Calls 1

DestroyInstanceFunction · 0.70

Tested by 4

TearDownMethod · 0.40
TearDownMethod · 0.40
TEST_FFunction · 0.40
TESTFunction · 0.40