summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/mesh/am2_handler.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-04-08 22:31:12 +0800
committerchai <chaifix@163.com>2019-04-08 22:31:12 +0800
commit4ea4bbfcb03091cb987dc151d41980ec16f3d18d (patch)
treebdbe56d8c570b5f243744fbfc5a6cdd2c4f6dc4f /source/modules/asura-core/mesh/am2_handler.h
parente47baca4f23db43ec91fbf64d5d06d7c0dbee495 (diff)
*misc
Diffstat (limited to 'source/modules/asura-core/mesh/am2_handler.h')
-rw-r--r--source/modules/asura-core/mesh/am2_handler.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/source/modules/asura-core/mesh/am2_handler.h b/source/modules/asura-core/mesh/am2_handler.h
new file mode 100644
index 0000000..de93be9
--- /dev/null
+++ b/source/modules/asura-core/mesh/am2_handler.h
@@ -0,0 +1,32 @@
+#ifndef __ASURA_MESH2D_AM2_HANDLER_H__
+#define __ASURA_MESH2D_AM2_HANDLER_H__
+
+#include "mesh2d_handler.h"
+
+namespace AsuraEngine
+{
+ namespace Mesh
+ {
+
+ ///
+ /// Asura Mesh Format handler͹Asura.am2ʽmeshļ
+ ///
+ class AM2Handler ASURA_FINAL : public Mesh2DHandler
+ {
+ public:
+
+ AM2Handler();
+ ~AM2Handler();
+
+ bool CanDecode(AEIO::DataBuffer& input) override;
+
+ void Decode(AEIO::DataBuffer& input, Mesh2DData& target) override;
+
+ void Encode(Mesh2DData& input, AEIO::DataBuffer& target) override;
+
+ };
+
+ }
+}
+
+#endif \ No newline at end of file