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

Renders SDL_ttf text into Vulkan image textures. More...

#include <mxvk/include/mxvk/mxvk_text.hpp>

Detailed Description

Renders SDL_ttf text into Vulkan image textures.

Loads a TrueType font via SDL_ttf, creates a descriptor pool for per-glyph textures, and provides a print-then-render workflow:

  1. Call printTextG_Solid() for each string to display.
  2. Call renderText() once during the render pass to draw all queued strings.
  3. Optionally call clearQueue() to discard pending strings.

The documentation for this class was generated from the following file: