std::expected< void, subsystem::error > terminate() override
Cleaup resources.
bool is_initialized() override
Returns true if the subsystem is initialized.
static void render_text(std::string text, float x, float y, float scale, glm::vec3 color)
Render text.
std::string name() override
Returns the name of the sybsystem.
static void load(std::string font_name, int font_size=48)
Load a font.
static std::map< char, types::character > characters
Map of characters.
std::expected< void, subsystem::error > initialize() override
Initialize the text subsystem.