¡@

Home 

2014/10/16 ¤W¤È 08:10:15

android Programming Glossary: assetdir

How To Get File In Assets From Android NDK

http://stackoverflow.com/questions/13317387/how-to-get-file-in-assets-from-android-ndk

search through the assets folder and its subdirectories locating the particular file that I am looking for AAssetDir assetDir AAssetManager_openDir asset_manager images const char filename while filename AAssetDir_getNextFileName assetDir NULL __android_log_print.. assetDir AAssetManager_openDir asset_manager images const char filename while filename AAssetDir_getNextFileName assetDir NULL __android_log_print ANDROID_LOG_DEBUG Debug filename AAssetDir_close assetDir I am also using OSG. I set the image.. filename AAssetDir_getNextFileName assetDir NULL __android_log_print ANDROID_LOG_DEBUG Debug filename AAssetDir_close assetDir I am also using OSG. I set the image as a texture to my shader with the following code texture setImage osgDB readImageFile..