blob: 23804d8b7aa6faf7bd0609e19624b40824efaef6 (
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
|
#ifndef _ASURA_ENGINE_RENDER_STATE_H_
#define _ASURA_ENGINE_RENDER_STATE_H_
#include <asura-base/Math/Vector2.hpp>
#include <asura-base/Math/Transform.h>
#include "BlendMode.h"
namespace_begin(AsuraEngine)
namespace_begin(Graphics)
class Shader;
///
/// Ⱦǰķʽ
///
struct RenderState ASURA_FINAL
{
///
/// Ĭϵrender state
///
static RenderState Default;
RenderState();
~RenderState();
///
/// λášλúת
///
Math::Transform transform;
///
/// ɫ
///
Shader* shader;
///
/// Ϸʽ
///
BlendMode blendMode;
};
namespace_end
namespace_end
#endif
|