diff options
author | sanine <sanine.not@pm.me> | 2022-04-16 11:55:54 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-04-16 11:55:54 -0500 |
commit | 8fb7916a0d0cb007a4c3a4e6a31af58765268ca3 (patch) | |
tree | 52b5524a94a5b04e17a1fd7f8aca988ab6d0c75f /src/mesh/assimp-master/port/AndroidJNI/README.md | |
parent | db81b925d776103326128bf629cbdda576a223e7 (diff) |
delete src/mesh/assimp-master
Diffstat (limited to 'src/mesh/assimp-master/port/AndroidJNI/README.md')
-rw-r--r-- | src/mesh/assimp-master/port/AndroidJNI/README.md | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/mesh/assimp-master/port/AndroidJNI/README.md b/src/mesh/assimp-master/port/AndroidJNI/README.md deleted file mode 100644 index 003b1da..0000000 --- a/src/mesh/assimp-master/port/AndroidJNI/README.md +++ /dev/null @@ -1,32 +0,0 @@ -Build Asset Importer Lib for Android -==================================== -This module provides a facade 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. - -### Building ### -To use this module please provide following cmake defines: -``` --DASSIMP_ANDROID_JNIIOSYSTEM=ON --DCMAKE_TOOLCHAIN_FILE=$SOME_PATH/android.toolchain.cmake -``` - -"SOME_PATH" is a path to your cmake android toolchain script. - - -The build script for this port is based on [android-cmake](https://github.com/taka-no-me/android-cmake). -See its documentation for more Android-specific cmake options (e.g. -DANDROID_ABI for the target ABI). -Check [Asset-Importer-Docs](https://assimp-docs.readthedocs.io/en/latest/) for more information. - -### Code ### -A small example how to wrap assimp for Android: -```cpp -#include <assimp/port/AndroidJNI/AndroidJNIIOSystem.h> - -Assimp::Importer* importer = new Assimp::Importer(); -Assimp::AndroidJNIIOSystem *ioSystem = new Assimp::AndroidJNIIOSystem(app->activity); -if ( nullptr != iosSystem ) { - importer->SetIOHandler(ioSystem); -} -``` |