Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::graphics::gui::renderers::ImageTextureCache::GlyphTexture Class Reference

A class that stores the texture and UV coordinates of a single glyph. More...

#include <omGraphicsGUIImageTextureCache.h>

Public Member Functions

 GlyphTexture (const Resource< Texture > &newTexture, const AABB2f &newUV)
 
const Resource< Texture > & getTexture () const
 Return a pointer to the texture which contain's this glyph. More...
 
const AABB2fgetUVBounds () const
 Return the UV coordinate bounding box for this glyph within its texture. More...
 

Detailed Description

A class that stores the texture and UV coordinates of a single glyph.

Constructor & Destructor Documentation

om::graphics::gui::renderers::ImageTextureCache::GlyphTexture::GlyphTexture ( const Resource< Texture > &  newTexture,
const AABB2f newUV 
)
inline

Member Function Documentation

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: