MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / FreeInstance

Method FreeInstance

LuaSTGPlus/ResourceMgr.cpp:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void ResParticle::FreeInstance(ResParticle::ParticlePool* p)LNOEXCEPT
76{
77 p->~ParticlePool();
78 s_MemoryPool.Free(p);
79}
80
81ResParticle::ParticlePool::ParticlePool(fcyRefPointer<ResParticle> ref)
82 : m_pInstance(ref), m_fEmission((float)ref->GetParticleInfo().nEmission) {}

Callers 1

ReleaseResourceMethod · 0.45

Calls 1

FreeMethod · 0.80

Tested by

no test coverage detected