Visual Computing Library
|
Public Member Functions | |
void | init () |
void | loadFont (const std::string &filePath, const std::string &fontName) |
void | clear () |
void | setCurrentFont (VclFont::Enum font, uint16_t fontSize) |
void | setCurrentFont (const std::string &fontName, uint16_t fontSize) |
void | appendTransientText (const vcl::Point2f &pos, const std::string &text, const vcl::Color &color=vcl::Color::Black) |
void | appendStaticText (const vcl::Point2f &pos, const std::string &text, const vcl::Color &color=vcl::Color::Black) |
void | submit (uint viewId) |
Private Attributes | |
bgfx::TextBufferManager * | mTextBufferManager = nullptr |
bgfx::TextBufferHandle | mStaticText |
bgfx::TextBufferHandle | mTransientText |
bgfx::FontHandle | mCurrentFont = BGFX_INVALID_HANDLE |