MXVK Vulkan Framework 0.33.1
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
sprite_example Directory Reference

Files

 
main.cpp

Detailed Description

Sprite Example

This is a minimal sprite rendering sample. It loads an image, stretches it to the current window size, and prints a short text overlay.

Controls

  • Escape - quit

How It Works

The example creates a sprite from intro.png, keeps it sized to the swapchain extent, and draws it every frame before rendering the text overlay. It is the smallest possible reference for showing an image with MXVK.