Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azrielx86/vulkantriangle
An example of a Vulkan C++ App
https://github.com/azrielx86/vulkantriangle
cpp vulkan vulkan-demos
Last synced: 24 days ago
JSON representation
An example of a Vulkan C++ App
- Host: GitHub
- URL: https://github.com/azrielx86/vulkantriangle
- Owner: Azrielx86
- Created: 2024-02-07T07:09:07.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-04-22T05:20:05.000Z (8 months ago)
- Last Synced: 2024-04-22T09:10:57.263Z (8 months ago)
- Topics: cpp, vulkan, vulkan-demos
- Language: C++
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vulkan Triangle Draw Example
This is an example of a Vulkan Application in C++, only to draw a single triangle :skull:
## How to execute it
You may need the VulkanSDK tools, if you are using Linux, check your distro repository list.
I had to install this packages on Gentoo:
```
dev-util/vulkan-headers-1.3.268
dev-util/vulkan-tools-1.3.268
dev-util/vulkan-utility-libraries-1.3.268
media-libs/vulkan-layers-1.3.268
media-libs/vulkan-loader-1.3.268
media-libs/glfw-3.3.8
media-libs/shaderc
```Also you need Boost library for `boost::format`
To use it on Windows, you can download the LunarG VulkanSDK from [here](https://vulkan.lunarg.com/#new_tab), GLFW and Boost are avaiable at vcpkg.
# Result
![](./doc/triangle.png)