MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / ShutdownInstance

Function ShutdownInstance

Source/TestRenderer/AndroidMain.cpp:341–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341static void ShutdownInstance() {
342 app.FreeResources();
343
344 if (mainContext) {
345 BE1::rhi.DestroyRenderTarget(mainRenderTarget);
346
347 BE1::rhi.DestroyContext(mainContext);
348 }
349
350 app.Shutdown();
351
352 BE1::Engine::ShutdownBase();
353}
354
355extern "C" {
356

Callers 1

android_mainFunction · 0.70

Calls 4

FreeResourcesMethod · 0.80
DestroyRenderTargetMethod · 0.80
DestroyContextMethod · 0.45
ShutdownMethod · 0.45

Tested by

no test coverage detected