22 NONE, TEX_2D, TEX_CUBEMAP, FRAMEBUFFER, MATERIAL, DAE, PREFAB, SCENE, SCRIPT, TXT, SHADER, SHADER_HANDLE, INI
26 std::string name_path;
31 std::string name_full;
32 std::string extension;
42 void LoadAssets(
bool isPacked);
46 std::list<AssetMgr::AssetReference*> GetAssets(TYPE type)
const;
48 static std::string LoadAssetFile(
const std::string& path);
50 static std::string GetAssetHash(
const std::string& path);
53 void SetAssetManager(AAssetManager* obj);
54 AAssetManager* GetAssetManager();
55 void SetEnv(JNIEnv* obj);
60 void ReadDirectory(
const std::string& path);
61 void ReadPackage(
const std::string& path);
63 AssetReference* CreateAsset(
const std::string& path,
const std::string& name_full, std::string name =
"");
70 std::list<AssetReference*> m_assetsList;
71 std::unordered_map<std::string, AssetReference*> m_assets;
72 zip_t* m_zip =
nullptr;
74 AAssetManager* m_assetManager;
75 JNIEnv* m_env =
nullptr;
77#if defined(__ANDROID__) || defined(IOS)
78 std::string m_package_raw;