903 B
903 B
Vulk-triangle
Basic rainbow triangle rendered with Vulkan.
Created as a reference project while following the official tutorial located here
Compiling
Scripts for Linux are located in ./scripts/.
Make sure you have a CPP compiler, CMake, and ninja installed.
configure-{type].sh- Creates and configures the associated build type in ./build/{type}.build-{type}.sh- Builds the associated build type in ./build/{type}.build.sh- Configures and builds all types in ./build/clean.sh- Runsninja cleanon all build types
If you are on linux and don't wish you build using the scripts you can go through the following steps:
mkdir -p build; cd build;cmake ../;make -j 8
Windows users, you're on your own. (sorry)
Running
Compiled exe is triangle on linux or triangle.exe on windows.