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

Method Clear

LuaSTGPlus/ResourceMgr.cpp:535–550  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// ResourcePool ///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

533/// ResourcePool
534////////////////////////////////////////////////////////////////////////////////
535void ResourcePool::Clear()LNOEXCEPT
536{
537 m_TexturePool.clear();
538 m_SpritePool.clear();
539 m_AnimationPool.clear();
540 m_MusicPool.clear();
541 m_SoundSpritePool.clear();
542 m_ParticlePool.clear();
543 m_SpriteFontPool.clear();
544 m_TTFFontPool.clear();
545 m_FXPool.clear();
546
547#if (defined LDEVVERSION) || (defined LDEBUG)
548 LAPP.SendResourceClearedHint(m_iType);
549#endif
550}
551
552void ResourcePool::RemoveResource(ResourceType t, const char* name)LNOEXCEPT
553{

Callers 11

ClearScreenMethod · 0.45
OnRenderMethod · 0.45
RemoveResourceMethod · 0.45
ClearAllResourceMethod · 0.45
clearListViewMethod · 0.45
RefreshAllMethod · 0.45
RenderTextureMethod · 0.45

Calls 1

Tested by

no test coverage detected