Added android build files for terrain tessellation example
This commit is contained in:
parent
4104d6a201
commit
5b5543e415
5 changed files with 117 additions and 0 deletions
27
android/terraintessellation/build.bat
Normal file
27
android/terraintessellation/build.bat
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
cd jni
|
||||
call ndk-build
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
cd..
|
||||
|
||||
mkdir "assets\shaders\base"
|
||||
xcopy "..\..\data\shaders\base\*.spv" "assets\shaders\base" /Y
|
||||
|
||||
mkdir "assets\shaders\terraintessellation"
|
||||
xcopy "..\..\data\shaders\terraintessellation\*.*" "assets\shaders\terraintessellation" /Y
|
||||
|
||||
mkdir "assets\textures"
|
||||
xcopy "..\..\data\textures\terrain_heightmap_r8.ktx" "assets\textures" /Y
|
||||
xcopy "..\..\data\textures\terrain_texturearray_bc3.ktx" "assets\textures" /Y
|
||||
xcopy "..\..\data\textures\skysphere_bc3.ktx" "assets\textures" /Y
|
||||
|
||||
mkdir "assets\models"
|
||||
xcopy "..\..\data\models\geosphere.obj" "assets\models" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanTerraintessellation.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue