This commit is contained in:
Jorijn van der Graaf 2025-06-14 01:51:35 +02:00
commit c8f1c90f9c
9 changed files with 0 additions and 0 deletions

View file

@ -1,29 +0,0 @@
# HelloWindow Example
## Description
This example demonstrates the minimal code needed to create a vulkan window and show it on the screen.
## Expected Result
A blue tinted vulkan window with the title "HelloWindow" shows onscreen, with debug info in the console.
## Highlighted Code Snippet
```cpp
VulkanDevice::CreateDevice();
WindowWaylandVulkan window("HelloWindow", 1280, 720);
VkCommandBuffer cmd = window.StartInit();
window.FinishInit();
window.StartSync();
```
## How to Run
```bash
crafter-build -c example -r
```
## Relevant documentation