YAGE  v0.1.3
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
yage::Glyph Class Reference

Glyph with information of the texture.

#include <spritebatch.h>

Public Member Functions

 Glyph (GLuint texture, float depth, const Vertex &top_left, const Vertex &top_right, const Vertex &bottom_right, const Vertex &bottom_left)
 
GLuint texture () const
 
float depth () const
 
Vertex top_left () const
 
Vertex top_right () const
 
Vertex bottom_right () const
 
Vertex bottom_left () const
 

Private Attributes

GLuint texture_
 
float depth_
 
Vertex top_left_
 
Vertex top_right_
 
Vertex bottom_right_
 
Vertex bottom_left_
 

Constructor & Destructor Documentation

yage::Glyph::Glyph ( GLuint  texture,
float  depth,
const Vertex top_left,
const Vertex top_right,
const Vertex bottom_right,
const Vertex bottom_left 
)

Member Function Documentation

Vertex yage::Glyph::bottom_left ( ) const
inline
Vertex yage::Glyph::bottom_right ( ) const
inline
float yage::Glyph::depth ( ) const
inline
GLuint yage::Glyph::texture ( ) const
inline
Vertex yage::Glyph::top_left ( ) const
inline
Vertex yage::Glyph::top_right ( ) const
inline

Member Data Documentation

Vertex yage::Glyph::bottom_left_
private
Vertex yage::Glyph::bottom_right_
private
float yage::Glyph::depth_
private
GLuint yage::Glyph::texture_
private
Vertex yage::Glyph::top_left_
private
Vertex yage::Glyph::top_right_
private

The documentation for this class was generated from the following files: