A minimal Vulkan application that renders a rectangle, designed to demonstrate the core concepts of the Vulkan graphics API.
This project is a simple starting point for learning Vulkan. It focuses on setting up the essential components required to render geometry on the screen, without unnecessary complexity.
- Vulkan instance and device setup
- Swapchain creation
- Graphics pipeline configuration
- Vertex buffer for rectangle rendering
- Command buffer recording and submission
- Basic shader integration
- C++
- Vulkan API
- GLSL (for shaders)
- Visual Studio
VulkanRectangle/
│── src/ # Source files
│── shaders/ # Vertex & fragment shaders
│── include/ # Header files
│── README.md
- Vulkan SDK installed
- Compatible GPU with Vulkan support
- Visual Studio (or another C++ compiler)
-
Clone the repository:
git clone https://github.com/gioleylee/VulkanRectangle.git
-
Open the project in Visual Studio
-
Build and run the project
The goal of this project is to provide a clear and minimal example of rendering with Vulkan, helping beginners understand how the graphics pipeline works.
- Add textures
- Implement transformations
- Improve rendering performance
- Add more complex shapes
This project is open-source and available under the MIT License.