Add Engine::getEntityManager()

This commit is contained in:
Mathias Agopian
2021-04-20 15:30:34 -07:00
committed by Mathias Agopian
parent 3f09e62f23
commit b1d877e7db
6 changed files with 46 additions and 8 deletions

View File

@@ -312,3 +312,9 @@ Java_com_google_android_filament_Engine_nGetJobSystem(JNIEnv*, jclass, jlong nat
Engine* engine = (Engine*) nativeEngine;
return (jlong) &engine->getJobSystem();
}
extern "C" JNIEXPORT jlong JNICALL
Java_com_google_android_filament_Engine_nGetEnityManager(JNIEnv*, jclass, jlong nativeEngine) {
Engine* engine = (Engine*) nativeEngine;
return (jlong) &engine->getEntityManager();
}