This repository is a tech demo for loading a vertex buffer in Vulkan.
In order to compile and run this demo, your system needs to have a Vulkan SDK installed on the system. In particular, on macOS, you need something like LunarG's Vulkan SDK to work. In summary, you need
- A Vulkan SDK that supports Vulkan 1.3.
- A C/C++ compiler that can compile C++20, such as clang, msvc, or gcc.
- The cmake build system with minimum version
3.28.
Knowing that cmake is a difficult creature on a good day, here are some instructions to build the demo to make things simpler to get moving with.
To compile the demo, run
cmake -S . -B build
cmake --build buildand it should compile.
To run the demo, run
cmake --build build --target runor if you're feeling a little lazy
./bin/*and the demo should launch.
To clean the build artifacts for the demo, run
rm -rf build
rm -rf binand you're done.
