Visual Computing Library
|
Public Member Functions | |
void | init (uint width, uint height) |
void | enableText (bool b=true) |
bool | isTextEnabled () const |
void | setTextFont (VclFont::Enum font, uint fontSize) |
void | setTextFont (const std::string &fontName, uint fontSize) |
void | clearText () |
void | appendStaticText (const vcl::Point2f &pos, const std::string &text, const vcl::Color &color=vcl::Color::Black) |
void | appendTransientText (const vcl::Point2f &pos, const std::string &text, const vcl::Color &color=vcl::Color::Black) |
void | frame (bgfx::FrameBufferHandle fbh) |
void | resize (uint width, uint height) |
Private Member Functions | |
void | updateProjMatrix () |
Private Attributes | |
TextManager | mTextManager |
bgfx::ViewId | mView = BGFX_INVALID_VIEW |
float | mTextViewMatrix [16] |
float | mTextProjMatrix [16] |
uint | mWidth = 0 |
uint | mHeight = 0 |