run all Android work on separate thread, add HotReloadPathHelper, separate loadTexture/setTexture

This commit is contained in:
Nick Fisher
2022-08-25 17:09:54 +10:00
parent f182af21b2
commit ad25014981
12 changed files with 392 additions and 227 deletions

View File

@@ -24,7 +24,8 @@ namespace polyvox {
ResourceLoader* resourceLoader,
NameComponentManager* ncm,
Engine* engine,
Scene* scene);
Scene* scene,
workqueue::threadpool& threadpool);
SceneAsset* fromGltf(const char* uri, const char* relativeResourcePath);
SceneAsset* fromGlb(const char* uri);
void remove(SceneAsset* asset);
@@ -37,6 +38,7 @@ namespace polyvox {
NameComponentManager* _ncm;
Scene* _scene;
Engine* _engine;
workqueue::threadpool& _threadpool;
};