Skip to content

About

c++ vulkan library & demo

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Build & Test

cth_engine

vulkan 1.3 engine in c++26, work in progress, api not stable yet

built and tested with:

  • linux: gcc 16, clang 23
  • windows: msvc, clang 23

libraries

  • cvk: c++ wrapper of the vulkan c api
  • cgfw: windows (win32, wayland) through RGFW
  • jvk: coroutine layer on top of cvk: threads, queues, stage graph, object lifetimes

demos

  • demo/triangle: triangle with msaa
  • demo/cube: spinning textured cube

building

requirements

  • cmake 4.0+, ninja
  • vcpkg with VCPKG_ROOT set
  • gcc 16, clang 23 or msvc
  • a vulkan 1.3 driver

build & test

git clone --recursive https://github.com/codethinki/cth_engine.git
cd cth_engine
cmake --preset gcc_release
cmake --build out/build/gcc_release
ctest --test-dir out/build/gcc_release

presets

  • gcc_debug, gcc_release, clang_debug, clang_release
  • windows only: msvc_debug, msvc_release

debug builds enable the validation layers

license

don't be a dick

About

c++ vulkan library & demo

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages