Android support for Compute particles example, replacing separate Android version (#97)
This commit is contained in:
parent
a8734f7f46
commit
a9fe22426f
26 changed files with 142 additions and 3230 deletions
20
android/computeparticles/build.bat
Normal file
20
android/computeparticles/build.bat
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
cd jni
|
||||
call ndk-build
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo ndk-build has failed, build cancelled
|
||||
cd..
|
||||
|
||||
mkdir "assets\shaders\computeparticles"
|
||||
xcopy "..\..\data\shaders\computeparticles\*.spv" "assets\shaders\computeparticles" /Y
|
||||
|
||||
mkdir "assets\textures"
|
||||
xcopy "..\..\data\textures\particle01_rgba.ktx" "assets\textures" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanComputeparticles.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue