summaryrefslogtreecommitdiff
path: root/Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp')
-rw-r--r--Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp b/Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp
new file mode 100644
index 0000000..151dc98
--- /dev/null
+++ b/Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp
@@ -0,0 +1,31 @@
+#include "../IndexBuffer.h"
+
+using namespace std;
+using namespace Luax;
+
+namespace_begin(AsuraEngine)
+namespace_begin(Graphics)
+
+
+ LUAX_REGISTRY(IndexBuffer)
+ {
+ LUAX_REGISTER_METHODS(state,
+ { "New", _New }
+ );
+ }
+
+ LUAX_POSTPROCESS(IndexBuffer)
+ {
+
+ }
+
+ // IndexBuffer.New()
+ LUAX_IMPL_METHOD(IndexBuffer, _New)
+ {
+ LUAX_STATE(L);
+
+ return 0;
+ }
+
+ }
+}