Removed deprecated separate triangle and texture demos, replaced with android build files (wip) (#97)

This commit is contained in:
saschawillems 2016-03-21 23:33:33 +01:00
parent 786e43384d
commit 16440383c5
47 changed files with 144 additions and 4466 deletions

21
android/texture/build.bat Normal file
View file

@ -0,0 +1,21 @@
cd jni
call ndk-build
if %ERRORLEVEL% EQU 0 (
echo ndk-build has failed, build cancelled
cd..
mkdir "assets\shaders"
xcopy "..\..\data\shaders\texture.vert.spv" "assets\shaders" /Y
xcopy "..\..\data\shaders\texture.frag.spv" "assets\shaders" /Y
mkdir "assets\textures"
xcopy "..\..\data\textures\igor_and_pal_bc3.ktx" "assets\textures" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanTexture.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)