virtual void renderUnbind() const
virtual void render(uint32 c, float &x, float &y, float *rgba) const
A texture font, as used by NWN and KotOR/KotOR2.
A handle to an Aurora texture.
Shader::ShaderRenderable * _renderable
float getHeight() const
Return the height of a character.
float getWidth(uint32 c) const
Return the width of a character.
Shader::ShaderMaterial * _material
float getLineSpacing() const
Return the size of space between lines.
virtual void renderBind(const glm::mat4 &transform) const
Bind the font for rendering.
std::map< uint32, Char > _chars
TextureFont(const Common::UString &name)
void draw(uint32 c) const
Draw this character.