Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)