altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
mFont Class Reference

#include <shader.h>

Inheritance diagram for mFont:
Inheritance graph
[legend]
Collaboration diagram for mFont:
Collaboration graph
[legend]

Public Member Functions

int init (Graphics *gfx)
 
void Params (char c, float x, float y, float scale, vec3 &color)
 
virtual void prelink (void)
 
- Public Member Functions inherited from Shader
 Shader ()
 
int init (Graphics *gfx, char *vertex_file, char *geometry_file, char *fragment_file)
 
virtual void Select ()
 
void destroy ()
 
virtual ~Shader ()
 

Private Attributes

int u_scale
 
int u_xpos
 
int u_ypos
 
int u_row
 
int u_col
 
int u_color
 
int texture0
 

Additional Inherited Members

- Protected Attributes inherited from Shader
const char * vertex_src
 
const char * geometry_src
 
const char * fragment_src
 
int program_handle
 
int vertex_handle
 
int geometry_handle
 
int fragment_handle
 

Member Function Documentation

int mFont::init ( Graphics gfx)

Here is the caller graph for this function:

void mFont::Params ( char  c,
float  x,
float  y,
float  scale,
vec3 color 
)

Here is the caller graph for this function:

virtual void mFont::prelink ( void  )
virtual

Implements Shader.

Member Data Documentation

int mFont::texture0
private
int mFont::u_col
private
int mFont::u_color
private
int mFont::u_row
private
int mFont::u_scale
private
int mFont::u_xpos
private
int mFont::u_ypos
private

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