Wasabi
|
#include <WText.hpp>
Public Attributes | |
uint32_t | ID |
std::string | name |
void * | cdata |
int | num_chars |
int | char_height |
class WGeometry * | textGeometry |
class WMaterial * | textMaterial |
class WImage * | img |
vector< W_RENDERING_TEXT > | texts |
Represents a font created by WTextComponent. A font also tracks the texts that use it for the next frame.
void* W_FONT_OBJECT::cdata |
stb library data
int W_FONT_OBJECT::char_height |
Height of each character, as created
uint32_t W_FONT_OBJECT::ID |
ID of the font
class WImage* W_FONT_OBJECT::img |
The bitmap created by stb
std::string W_FONT_OBJECT::name |
Name of the font, as loaded
int W_FONT_OBJECT::num_chars |
Number of characters loaded by stb
class WGeometry* W_FONT_OBJECT::textGeometry |
Geometry to use to render all the texts of this font
class WMaterial* W_FONT_OBJECT::textMaterial |
Material to use to render the geometry
vector<W_RENDERING_TEXT> W_FONT_OBJECT::texts |
A list of texts using this font that will be rendered next frame