Code Name: Basics
This subsection contains simply creating a window, getting device (GPU) info on your system and basic Vulkan implementations (like drawing triangle, using buffers etc.) examples.
The examples in this subsection, listed from easy to complex, are as follows:
- Creating a Window
CreatingWindow
- Getting Vulkan and Device Info
GetDeviceInfo
- Clear Screen with a Color
ClearScreenWithColor
- Drawing a Single Color Triangle
DrawingSingleColorTriangle
- Drawing Multiple Triangles
DrawingMultipleTriangles
- Drawing Multicolor Triangles
DrawingMulticolorTriangles
- Drawing a Quad with Indices
DrawingQuad
- Drawing with Different Topologies
DrawingWithDifferentTopology
- Using Staging Buffer
UsingStagingBuffer
The VulkanApplication classes used in the examples, except for the CreatingWindow and GetDeviceInfo examples, are derived from the ApplicationBasics class. The ApplicationBasics class includes common functions such as selecting a PhysicalDevice and creating a Surface, Device, Queue; creating SwapChain and Framebuffers with ImageViews taken from this SwapChain; creating CommandPool, synchronization objects, and RenderPass.