diff options
author | chai <chaifix@163.com> | 2019-03-25 23:46:59 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-25 23:46:59 +0800 |
commit | 03b3b8ae80559745f98ef94569b421adddeb441f (patch) | |
tree | 7bf46892fef7453d4c25172333bd4fbddb29ee16 /source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp | |
parent | 82956beb1fe17e1226327638c8ab22b5f5adfc1d (diff) |
*misc
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.cpp | 62 |
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 |