forked from LukasBanana/LLGL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RunExamplesWin64.bat
121 lines (98 loc) · 2.64 KB
/
RunExamplesWin64.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
@echo off
set BUILD_DIR="build/build"
:Start
echo select example:
echo 1.) Hello Triangle
echo 2.) Tessellation
echo 3.) Texturing
echo 4.) Queries
echo 5.) Render Target
echo 6.) Multi Context
echo 7.) Buffer Array
echo 8.) Compute Shader
echo 9.) Stream Output
echo 10.) Instancing
echo 11.) Post Processing
echo 12.) Shadow Mapping
echo 13.) Multi Renderer
echo 14.) Stencil Buffer
echo 15.) Volume Rendering
echo 16.) Cloth Physics
echo 17.) Mapping
echo 18.) Animation
:Prompt
set /p "Input="
if not defined Input goto Prompt
if "%Input%" EQU "1" (
cd %~dp0\examples\Cpp\HelloTriangle
%~dp0\%BUILD_DIR%\Debug\Example_HelloTriangleD.exe
)
if "%Input%" EQU "2" (
cd %~dp0\examples\Cpp\Tessellation
%~dp0\%BUILD_DIR%\Debug\Example_TessellationD.exe
)
if "%Input%" EQU "3" (
cd %~dp0\examples\Cpp\Texturing
%~dp0\%BUILD_DIR%\Debug\Example_TexturingD.exe
)
if "%Input%" EQU "4" (
cd %~dp0\examples\Cpp\Queries
%~dp0\%BUILD_DIR%\Debug\Example_QueriesD.exe
)
if "%Input%" EQU "5" (
cd %~dp0\examples\Cpp\RenderTarget
%~dp0\%BUILD_DIR%\Debug\Example_RenderTargetD.exe
)
if "%Input%" EQU "6" (
cd %~dp0\examples\Cpp\MultiContext
%~dp0\%BUILD_DIR%\Debug\Example_MultiContextD.exe
)
if "%Input%" EQU "7" (
cd %~dp0\examples\Cpp\BufferArray
%~dp0\%BUILD_DIR%\Debug\Example_BufferArrayD.exe
)
if "%Input%" EQU "8" (
cd %~dp0\examples\Cpp\ComputeShader
%~dp0\%BUILD_DIR%\Debug\Example_ComputeShaderD.exe
)
if "%Input%" EQU "9" (
cd %~dp0\examples\Cpp\StreamOutput
%~dp0\%BUILD_DIR%\Debug\Example_StreamOutputD.exe
)
if "%Input%" EQU "10" (
cd %~dp0\examples\Cpp\Instancing
%~dp0\%BUILD_DIR%\Debug\Example_InstancingD.exe
)
if "%Input%" EQU "11" (
cd %~dp0\examples\Cpp\PostProcessing
%~dp0\%BUILD_DIR%\Debug\Example_PostProcessingD.exe
)
if "%Input%" EQU "12" (
cd %~dp0\examples\Cpp\ShadowMapping
%~dp0\%BUILD_DIR%\Debug\Example_ShadowMappingD.exe
)
if "%Input%" EQU "13" (
cd %~dp0\examples\Cpp\MultiRenderer
%~dp0\%BUILD_DIR%\Debug\Example_MultiRendererD.exe
)
if "%Input%" EQU "14" (
cd %~dp0\examples\Cpp\StencilBuffer
%~dp0\%BUILD_DIR%\Debug\Example_StencilBufferD.exe
)
if "%Input%" EQU "15" (
cd %~dp0\examples\Cpp\VolumeRendering
%~dp0\%BUILD_DIR%\Debug\Example_VolumeRenderingD.exe
)
if "%Input%" EQU "16" (
cd %~dp0\examples\Cpp\ClothPhysics
%~dp0\%BUILD_DIR%\Debug\Example_ClothPhysicsD.exe
)
if "%Input%" EQU "17" (
cd %~dp0\examples\Cpp\Mapping
%~dp0\%BUILD_DIR%\Debug\Example_MappingD.exe
)
if "%Input%" EQU "18" (
cd %~dp0\examples\Cpp\Animation
%~dp0\%BUILD_DIR%\Debug\Example_AnimationD.exe
)
goto Start