Added resources and android build for scene rendering example
This commit is contained in:
parent
14e327c353
commit
b1b828b45f
19 changed files with 1126 additions and 1 deletions
23
android/scenerendering/build.bat
Normal file
23
android/scenerendering/build.bat
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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\scenerendering"
|
||||
xcopy "..\..\data\shaders\scenerendering\*.*" "assets\shaders\scenerendering" /Y
|
||||
|
||||
mkdir "assets\models\sibenik"
|
||||
xcopy "..\..\data\models\sibenik\*.*" "assets\models\sibenik" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanScenerendering.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue