1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/TextDrawer.h
2015-05-13 10:15:52 +06:00

22 lines
363 B
C++

#ifndef TEXTDRAWER_H
#define TEXTDRAWER_H
#include "OpenGL.h"
class TextDrawer
{
friend class OGLRender;
TextDrawer();
void init();
void destroy();
void renderText(const char *_pText, float x, float y) const;
static TextDrawer & get();
struct Atlas * m_pAtlas;
GLuint m_program;
GLint m_uTex;
GLint m_uColor;
GLuint m_vbo;
};
#endif // TEXTDRAWER_H