Vulkan Lib is a C++ library for the Vulkan graphics API, designed to simplify the development process of Vulkan applications. It provides useful utilities and abstractions for creating and managing Vulkan resources, along with implementations of common functionality and algorithms.
- Encapsulates the creation, destruction, and management logic of Vulkan objects, simplifying resource management.
- Provides common functions and tools such as texture loading, shader compilation, and command buffer recording.
- Includes implementations of common graphics and compute algorithms that can be used directly in Vulkan applications.
- Vulkan SDK: Make sure you have the appropriate version of the Vulkan SDK installed on your machine.
- C++ Compiler: You will need a compiler that supports C++17 or higher.
- Clone or download the source code of this library:
git clone https://github.com/InverseDa/vulkan-lib.git
- Use CMake to generate makefile or sln
cmake -S . -Bbuild
- Build
cd ./build; cmake --build
#include "app/app.hpp"
int main(int argc, char** argv) {
Application app{};
try {
app.Run();
} catch (const std::exception &e) {
std::cerr << e.what() << '\n';
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
Contributions and issue reports are welcome! If you find any bugs or have suggestions for improvements, please submit an issue or send a pull request.
This library is licensed under the MIT License. See the LICENSE file for details.
Please note that this is just a rough README file template, and you should modify and supplement it according to the specifics and requirements of your library.
Make sure to provide detailed usage examples, installation instructions, prerequisites, contribution guidelines, and license information to help other developers
better understand and utilize your library.