summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/sprite_batch.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-07-31 21:35:12 +0800
committerchai <chaifix@163.com>2019-07-31 21:35:12 +0800
commit084623519e95f0ab0cf4bc328b5fa736d679c5bd (patch)
tree9d409dceda50335e9fb881fc5107c9c1c561f988 /source/modules/asura-core/graphics/sprite_batch.h
parent012a44bd13ab41d056e7d3884a39027b6cea62b5 (diff)
*修改名称空间风格
Diffstat (limited to 'source/modules/asura-core/graphics/sprite_batch.h')
-rw-r--r--source/modules/asura-core/graphics/sprite_batch.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/source/modules/asura-core/graphics/sprite_batch.h b/source/modules/asura-core/graphics/sprite_batch.h
index b517334..7f22da0 100644
--- a/source/modules/asura-core/graphics/sprite_batch.h
+++ b/source/modules/asura-core/graphics/sprite_batch.h
@@ -5,32 +5,30 @@
#include "gpu_buffer.h"
-namespace AsuraEngine
+namespace_begin(AsuraEngine)
+namespace_begin(Graphics)
+
+///
+/// Sprite batchȾͼƬĵطϵͳ
+///
+class SpriteBatch ASURA_FINAL
+ : public Scripting::Portable<SpriteBatch>
{
- namespace Graphics
- {
+public:
- ///
- /// Sprite batchȾͼƬĵطϵͳ
- ///
- class SpriteBatch ASURA_FINAL
- : public Scripting::Portable<SpriteBatch>
- {
- public:
+ SpriteBatch();
- SpriteBatch();
+ ~SpriteBatch();
- ~SpriteBatch();
+private:
- private:
+luaxport:
- luaxport:
+ LUAX_DECL_FACTORY(SpriteBatch);
- LUAX_DECL_FACTORY(SpriteBatch);
+};
- };
-
- }
-}
+namespace_end
+namespace_end
#endif \ No newline at end of file