blob: 9f138c0d9264cdfc00be3f51970a46e66271f581 (
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-utils/math/vector2.hpp>
#include <asura-utils/math/transform.h>
#include "blend_mode.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
|