Vulkan 2-D sprite with texture, custom shader, and instancing support. More...
#include <mxvk/include/mxvk/mxvk_sprite.hpp>
Vulkan 2-D sprite with texture, custom shader, and instancing support.
Allocates and manages all Vulkan resources required to render one sprite type: image, sampler, descriptor set, vertex/index buffers, and an optional custom pipeline. Multiple draw commands are batched into a queue and submitted together in renderSprites().