summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-16 09:01:04 +0800
committerchai <chaifix@163.com>2019-01-16 09:01:04 +0800
commit3d6e7e67d04f87dbfd2fc31b2d6ccecc4b0440ce (patch)
tree984f9670b81999ede844b07231c586f1c3e3d79a
parentf2b0cd4582bdc3b8666ec7f6c4a29d67b06e7646 (diff)
*material
-rw-r--r--Source/Asura/Graphics/Material.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/Source/Asura/Graphics/Material.h b/Source/Asura/Graphics/Material.h
index 2b74879..16411a0 100644
--- a/Source/Asura/Graphics/Material.h
+++ b/Source/Asura/Graphics/Material.h
@@ -95,6 +95,23 @@ namespace AsuraEngine
void SetVertexAttributes();
+ private:
+
+ ///
+ ///
+ ///
+ Shader* mShader;
+
+ ///
+ /// UniformsֵӳIDֵ
+ ///
+ Containers::Map<int, UniformsInfo> mUniforms;
+
+ ///
+ /// ǷǹIJ
+ ///
+ bool mIsShared;
+
//----------------------------------------------------------------------------------------------------
LUAX_DECL_FACTORY( Material );
@@ -123,23 +140,6 @@ namespace AsuraEngine
LUAX_DECL_METHOD( l_SetVertexAttributes );
- private:
-
- ///
- ///
- ///
- Shader* mShader;
-
- ///
- /// UniformsֵӳIDֵ
- ///
- Containers::Map<int, UniformsInfo> mUniforms;
-
- ///
- /// ǷǹIJ
- ///
- bool mIsShared;
-
};
}