Added Android build files fro compute cull and lod example
This commit is contained in:
parent
a0d9f49d0c
commit
21ae4aeeb3
6 changed files with 113 additions and 0 deletions
22
android/computecullandlod/build.bat
Normal file
22
android/computecullandlod/build.bat
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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\computecullandlod"
|
||||
xcopy "..\..\data\shaders\computecullandlod\*.spv" "assets\shaders\computecullandlod" /Y
|
||||
|
||||
mkdir "assets\models"
|
||||
xcopy "..\..\data\models\suzanne_lods.dae" "assets\models" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanComputecullandlod.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue