From a077eb38b01292611f4f6031b75e3e2c1c20f06e Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 16 Aug 2019 08:54:08 +0800 Subject: *misc --- .../Graphics/binding/IndexBuffer.binding.cpp | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp (limited to 'Source/modules/asura-core/Graphics/binding/IndexBuffer.binding.cpp') 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; + } + + } +} -- cgit v1.1-26-g67d0