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

Function GetAndroidAssetManager

engine/resource/src/mount/mount_android.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace dmResource
32{
33 static AAssetManager* GetAndroidAssetManager()
34 {
35 struct android_app* app = dmAndroid::GetAndroidApp();
36 if (!app) return 0;
37 if (!app->activity) return 0;
38 return app->activity->assetManager;
39 }
40
41 struct MountInfo
42 {

Callers 1

MapAssetFunction · 0.70

Calls 1

GetAndroidAppFunction · 0.50

Tested by

no test coverage detected