diff options
Diffstat (limited to 'Source/Asura.Engine/graphics/render_state.h')
-rw-r--r-- | Source/Asura.Engine/graphics/render_state.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Source/Asura.Engine/graphics/render_state.h b/Source/Asura.Engine/graphics/render_state.h new file mode 100644 index 0000000..f313296 --- /dev/null +++ b/Source/Asura.Engine/graphics/render_state.h @@ -0,0 +1,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
\ No newline at end of file |