blob: f313296aaec338e659adf9e5210353557498e6f6 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifndef __ASURA_ENGINE_RENDER_STATE_H__
#define __ASURA_ENGINE_RENDER_STATE_H__
#include "Math/Vector2.hpp"
#include "Math/Rect.hpp"
#include "Math/Transform.h"
#include "Shader.h"
#include "BlendMode.h"
namespace AsuraEngine
{
namespace Graphics
{
///
/// Ⱦǰķʽ
///
struct RenderState ASURA_FINAL
{
///
/// Ĭϵrender state
///
static RenderState Default;
RenderState();
~RenderState();
///
/// λášλúת
///
Math::Transform transform;
///
/// ɫ
///
Shader* shader;
///
/// Ϸʽ
///
BlendMode blendMode;
};
}
}
#endif
|