Code Name: MultipleUniformBuffers
This example draws 4 triangles to the different areas of the screen. Then it applies different Uniform Buffers(UBs) to different areas of the screen.
| Input | Action |
|---|---|
| Esc | Close the window |
| Parameter / Key | Type | Usage in Code | Description | Default Value |
|---|---|---|---|---|
| AppSettings.ClearColor | VkClearColorValue | AppSettings::ClearColor | Background color of the screen |
- Creating multiple descriptor sets that each related to a uniform buffer
- Using multiple descriptor sets in shaders
| Shader Type | Status | Notes |
|---|---|---|
| GLSL | ✅ | |
| HLSL | ✅ | |
| Slang | ✅ |
None
Window system-dependent extensions:
- VK_KHR_surface
- VK_KHR_win32_surface (Windows)
- VK_KHR_swapchain
