summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp')
-rw-r--r--source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp62
1 files changed, 0 insertions, 62 deletions
diff --git a/source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp b/source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp
deleted file mode 100644
index 72e33da..0000000
--- a/source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-#include "../image_data.h"
-
-using namespace Luax;
-
-namespace AsuraEngine
-{
- namespace Graphics
- {
-
- LUAX_REGISTRY(ImageData)
- {
-
- }
-
- LUAX_POSTPROCESS(ImageData)
- {
- LUAX_REGISTER_ENUM(state, "EBlendMode",
- { "Additive", 1 }
- );
- LUAX_REGISTER_ENUM(state, "EPixelFormat",
- { "RGBA32", 1 }
- );
- }
-
- // imagedata = ImageData.New(databuffer)
- LUAX_IMPL_METHOD(ImageData, _New)
- {
- LUAX_STATE(L);
-
- Filesystem::DataBuffer* db = state.CheckUserdata<Filesystem::DataBuffer>(1);
- ImageData* image = new ImageData(*db);
- image->PushLuaxUserdata(state);
- return 1;
- }
-
- LUAX_IMPL_METHOD(ImageData, _GetPixel)
- {
-
- }
-
- LUAX_IMPL_METHOD(ImageData, _GetSize)
- {
-
- }
-
- LUAX_IMPL_METHOD(ImageData, _GetWidth)
- {
-
- }
-
- LUAX_IMPL_METHOD(ImageData, _GetHeight)
- {
-
- }
-
- LUAX_IMPL_METHOD(ImageData, _GetPixelFormat)
- {
-
- }
-
- }
-} \ No newline at end of file