blob: 2ca4618866632b9308d3430e5b74eed6af8722f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include "../Graphics/VertexBuffer.h"
enum ETextAnchor
{
TextAnchor_UpperLeft,
TextAnchor_UpperCenter,
TextAnchor_UpperRight,
TextAnchor_MiddleLeft,
TextAnchor_MiddleCenter,
TextAnchor_MiddleRight,
TextAnchor_LowerLeft,
TextAnchor_LowerCenter,
TextAnchor_LowerRight,
TextAnchor_DontCare
};
enum ETextAlignment {
TextAlignment_Left,
TextAlignment_Center,
TextAlignment_Right,
TextAlignment_Auto,
};
class TextMesh
{
public:
private:
VertexBuffer* m_VBO;
};
|