A class that stores the texture and UV coordinates of a single glyph.
More...
#include <omGraphicsGUIImageTextureCache.h>
A class that stores the texture and UV coordinates of a single glyph.
om::graphics::gui::renderers::ImageTextureCache::GlyphTexture::GlyphTexture |
( |
const Resource< Texture > & |
newTexture, |
|
|
const AABB2f & |
newUV |
|
) |
| |
|
inline |
const Resource<Texture>& om::graphics::gui::renderers::ImageTextureCache::GlyphTexture::getTexture |
( |
| ) |
const |
|
inline |
Return a pointer to the texture which contain's this glyph.
const AABB2f& om::graphics::gui::renderers::ImageTextureCache::GlyphTexture::getUVBounds |
( |
| ) |
const |
|
inline |
Return the UV coordinate bounding box for this glyph within its texture.
The documentation for this class was generated from the following file: