summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/Shader.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-02-22 13:50:12 +0800
committerchai <chaifix@163.com>2019-02-22 13:50:12 +0800
commit22ba8d6af9e9a67e6bac11365df23b6a61fa62c7 (patch)
tree7e86accc40e3b99b8ae575f718136239fc249d2d /Source/Asura.Engine/Graphics/Shader.h
parentf756fa0a17675ea70956af9c42f6c1117a84f9bd (diff)
*修改缩进
Diffstat (limited to 'Source/Asura.Engine/Graphics/Shader.h')
-rw-r--r--Source/Asura.Engine/Graphics/Shader.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/Source/Asura.Engine/Graphics/Shader.h b/Source/Asura.Engine/Graphics/Shader.h
index e15c6e0..e22fc66 100644
--- a/Source/Asura.Engine/Graphics/Shader.h
+++ b/Source/Asura.Engine/Graphics/Shader.h
@@ -11,56 +11,56 @@
namespace AsuraEngine
{
- namespace Graphics
- {
+ namespace Graphics
+ {
- class Material;
+ class Material;
- ///
- /// һshaderһڲʼ乲ijShaderuniformsͶݣֻuniforms location
- ///
- class Shader
- {
- public:
+ ///
+ /// һshaderһڲʼ乲ijShaderuniformsͶݣֻuniforms location
+ ///
+ class Shader
+ {
+ public:
- Shader();
- ~Shader();
+ Shader();
+ ~Shader();
- private:
+ private:
- friend class Material;
+ friend class Material;
- ///
- /// shaderuniformsIDӳ䡣
- ///
- static StringMap<int> sUniformsID;
+ ///
+ /// shaderuniformsIDӳ䡣
+ ///
+ static StringMap<int> sUniformsID;
- ///
- /// uniformID
- ///
- static int GetUniformID(const String& name);
+ ///
+ /// uniformID
+ ///
+ static int GetUniformID(const String& name);
- ///
- /// ñ
- /// vec2 Asura_Time xֵΪ뵱ǰʼʱ䣬yֵΪһ֡ʱ
- /// vec2 Asura_RenderTargetSize RTĴСΪλ
- /// Texture Asura_MainTexture
- ///
- void SetBuiltInUniforms();
+ ///
+ /// ñ
+ /// vec2 Asura_Time xֵΪ뵱ǰʼʱ䣬yֵΪһ֡ʱ
+ /// vec2 Asura_RenderTargetSize RTĴСΪλ
+ /// Texture Asura_MainTexture
+ ///
+ void SetBuiltInUniforms();
- ///
- /// ӳuniforms IDlocation
- ///
- Map<int, int> mLocations;
+ ///
+ /// ӳuniforms IDlocation
+ ///
+ Map<int, int> mLocations;
- };
+ };
- class ShaderManager final : public Manager
- {
+ class ShaderManager final : public Manager
+ {
- };
+ };
- }
+ }
}
#endif \ No newline at end of file