OrbitEngine::Graphics::TextRenderer2D class

Base classes

template<typename V>
class BatchRenderer2D

Constructors, destructors, conversion operators

TextRenderer2D(unsigned int batchSize = 4000)
~TextRenderer2D()

Public functions

void begin() override
void end() override
void drawText(const std::vector<GlyphCodepoint>& text, const Math::Vec2f& position, TextStyle style, FontCollection* font)
auto getBounds(const std::vector<GlyphCodepoint>& text, TextStyle style, FontCollection* font) -> Math::Vec2f