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

Function UnloadBootstrapContent

engine/engine/src/engine.cpp:2498–2508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2496 }
2497
2498 void UnloadBootstrapContent(HEngine engine)
2499 {
2500 if (engine->m_RenderScriptPrototype)
2501 dmResource::Release(engine->m_Factory, engine->m_RenderScriptPrototype);
2502 if (engine->m_SystemFont)
2503 dmResource::Release(engine->m_Factory, engine->m_SystemFont);
2504 if (engine->m_GameInputBinding)
2505 dmResource::Release(engine->m_Factory, engine->m_GameInputBinding);
2506 if (engine->m_DisplayProfiles)
2507 dmResource::Release(engine->m_Factory, engine->m_DisplayProfiles);
2508 }
2509
2510 uint32_t GetFrameCount(HEngine engine)
2511 {

Callers 1

DeleteFunction · 0.85

Calls 1

ReleaseFunction · 0.50

Tested by

no test coverage detected