dolphin/Source/Plugins/Plugin_VideoOGL/Src/RasterFont.h

29 lines
488 B
C
Raw Normal View History

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _RASTERFONT_H_
#define _RASTERFONT_H_
2012-12-27 23:52:44 +00:00
namespace OGL {
class RasterFont {
public:
RasterFont();
~RasterFont(void);
static int debug;
void printMultilineText(const char *text, double x, double y, double z, int bbWidth, int bbHeight, u32 color);
private:
u32 VBO;
u32 VAO;
u32 texture;
u32 uniform_color_id;
u32 cached_color;
};
2012-12-27 23:52:44 +00:00
}
#endif // _RASTERFONT_H_