summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/mesh/am2_handler.h
diff options
context:
space:
mode:
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