Added multisampling example to cmake and android build
This commit is contained in:
parent
d19a4422ce
commit
1e3dcb98b6
8 changed files with 113 additions and 1 deletions
20
android/multisampling/build.bat
Normal file
20
android/multisampling/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\mesh"
|
||||
xcopy "..\..\data\shaders\mesh\*.spv" "assets\shaders\mesh" /Y
|
||||
|
||||
mkdir "assets\models\voyager"
|
||||
xcopy "..\..\data\models\voyager\*.*" "assets\models\voyager" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanMultisampling.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue