parent
6295e4dbc4
commit
2432abacc7
|
@ -1,7 +1,7 @@
|
|||
Build Asset Importer Lib for Android
|
||||
====================================
|
||||
This module provides a fascade for the io-stream-access to files behind the
|
||||
android-asset-management within an Android native application.
|
||||
This module provides a fascade for the io-stream-access to files behind the android-asset-management within
|
||||
an Android-native application.
|
||||
- It is built as a static library
|
||||
- It requires Android NDK with android API > 9 support.
|
||||
|
||||
|
@ -21,5 +21,7 @@ A small example how to wrap assimp for Android:
|
|||
|
||||
Assimp::Importer* importer = new Assimp::Importer();
|
||||
Assimp::AndroidJNIIOSystem *ioSystem = new Assimp::AndroidJNIIOSystem(app->activity);
|
||||
if ( nullptr != iosSystem ) {
|
||||
importer->SetIOHandler(ioSystem);
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue