Files | |
| point.cpp | |
Point Sprite is a direct mxvk::VK_PointSpriteBatch sample. It renders animated Tux sprites as point primitives and grows the active sprite count while the program is running.
The example stores per-sprite position, velocity, depth, frame, size, and tint data, writes those values into point-sprite vertices, and lets VK_PointSpriteBatch handle the Vulkan buffers, descriptors, and rendering pipeline.