🎨 fgla is a platform-agnostic graphics API/abstraction layer, inspired by WGPU and based on Vulkan.
Important
fgla is still in its infancy, expect many breaking changes before working versions are published.
- CMake
- Working C/C++ compiler
- Vulkan SDK
- GLFW3 (optional, required for
fgla::ext::windowing)
- Clone the repository:
git clone https://github.com/frederickampsup/fgla.git --recurse-submodules- Configure:
cmake -B build- Build:
cmake --build build -jTip
If FGLA_BUILD_TESTS is enabled (ON by default), test program binaries will be located in build/tests/.
- Add
fglaas a Git submodule:
git submodule add https://github.com/frederickampsup/fgla.git extern/fgla
git submodule update --init --recursive- Add
fglaas a CMake subdirectory:
# CMakeLists.txt
add_subdirectory(extern/fgla)
target_link_libraries(my_target PRIVATE fgla::fgla)