1234567891011121314151617181920 |
- #ifndef FONTRENDERER_H
- #define FONTRENDERER_H
- #include "rendering/wrapper/VertexBuffer.h"
- #include "rendering/wrapper/StreamBuffer.h"
- #include "rendering/FileTexture.h"
- class FontRenderer final {
- public:
- FontRenderer();
- void drawString(float x, float y, const char* text);
- private:
- VertexBuffer vertexBuffer;
- StreamBuffer buffer;
- FileTexture tex;
- };
- #endif
|