File tree Expand file tree Collapse file tree 6 files changed +76
-1
lines changed
Expand file tree Collapse file tree 6 files changed +76
-1
lines changed Original file line number Diff line number Diff line change 3434build /
3535
3636.vscode /*
37- ! .vscode /tasks.json
37+ ! .vscode /tasks.json
38+
39+ source /_static /VulkanTriangle /build
Original file line number Diff line number Diff line change 1+ Vulkan 三角形
2+ ===================
3+
4+ .. dropdown :: 更新记录
5+ :color: muted
6+ :icon: history
7+
8+ * 2024/11/7 增加该文章
9+ * 2024/11/8 更新该文章
10+
11+ .. card :: Vulkan 三角形
12+ :link: https://github.com/FuXiii/VulkanTriangle/archive/refs/heads/main.zip
13+ :shadow: lg
14+ :text-align: center
15+
16+ 点击下载源码
17+
18+ +++
19+ .. figure :: ../_static/VulkanTriangle/vulkan_triangle.png
20+ :scale: 50
21+
22+ .. admonition :: 项目要求
23+ :class: note
24+
25+ * ``CMake ``
26+ * ``C/C++ `` 的编译环境
27+ * ``Vulkan 运行时 `` (一般系统都默认自带)
28+
29+ .. admonition :: 支持平台
30+ :class: tip
31+
32+ * ``Windows ``
33+ * ``Linux ``
34+
35+ 1. 下载并解压
36+ 2. 在同级目录下创建 ``build `` 文件夹
37+
38+ .. figure :: ../_static/VulkanTriangle/create_build_folder.png
39+
40+ 创建 build 文件夹
41+
42+ 3. 命令行定位到 ``build `` 文件夹,执行如下指令:
43+
44+ .. code-block :: console
45+
46+ cmake ..
47+
48+ 4. 编译生成可执行程序
49+
50+ .. tab-set ::
51+
52+ .. tab-item :: Visual Studio
53+
54+ 打开 ``build `` 文件夹下的 ``.sln `` 文件,编译执行即可。
55+
56+ .. tab-item :: Linux
57+
58+ 命令行中执行如下指令即可:
59+
60+ .. code-block :: console
61+
62+ make
63+
64+ .. figure :: ../_static/VulkanTriangle/vulkan_triangle.png
Original file line number Diff line number Diff line change 44此更新日志为纵览更新,对于具体文章的更新位于每个文章的开头的 `更新记录` 中。
55```
66
7+ ## 2024/11/8
8+
9+ > * 更新` Vulkan 三角形 ` 工程文档
10+
11+ ## 2024/11/7
12+
13+ > * 增加` Vulkan 三角形 ` 工程文档
14+
715## 2024/11/5
816
917> * 更新` 资源与内存 ` 文档
Original file line number Diff line number Diff line change 107107 :caption: 工程应用
108108 :maxdepth: 2
109109
110+ ./Application/VulkanTriangle.rst
110111 ./Application/index.rst
111112
112113.. toctree ::
You can’t perform that action at this time.
0 commit comments