MCPcopy Create free account
hub / github.com/begla/Intrinsic / destroyResources

Method destroyResources

IntrinsicCore/src/IntrinsicCoreComponentsScript.cpp:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41// <-
42
43void ScriptManager::destroyResources(const ScriptRefArray& p_Scripts)
44{
45 for (uint32_t scriptIdx = 0u; scriptIdx < p_Scripts.size(); ++scriptIdx)
46 {
47 ScriptRef scriptRef = p_Scripts[scriptIdx];
48 Resources::ScriptRef scriptResRef = _script(scriptRef);
49
50 Resources::ScriptManager::callOnDestroy(scriptResRef, scriptRef);
51 _script(scriptRef) = Resources::ScriptRef();
52 }
53}
54
55// <-
56

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected