diff options
author | chai <chaifix@163.com> | 2019-03-16 13:03:50 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-16 13:03:50 +0800 |
commit | 1ab2501db0f9e14f138292880e37120e7a6184de (patch) | |
tree | 2d1cfa82a9a6a3a0f16e516f100b2acb6f7e0e4e /Source/Asura.Engine/graphics/binding/image_data.binding.cpp | |
parent | 95d27af75eb2aff8020e073eff8dfeb074b5bba6 (diff) |
*luax
Diffstat (limited to 'Source/Asura.Engine/graphics/binding/image_data.binding.cpp')
-rw-r--r-- | Source/Asura.Engine/graphics/binding/image_data.binding.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Source/Asura.Engine/graphics/binding/image_data.binding.cpp b/Source/Asura.Engine/graphics/binding/image_data.binding.cpp new file mode 100644 index 0000000..d576718 --- /dev/null +++ b/Source/Asura.Engine/graphics/binding/image_data.binding.cpp @@ -0,0 +1,35 @@ +#include "../image.h" + +using namespace Luax; + +namespace AsuraEngine +{ + namespace Graphics + { + + void Image::RegisterLuaxInterface(LuaxState& state) + { + + } + + void Image::RegisterLuaxClass(LuaxState& state) + { + + } + + void Image::RegisterLuaxPostprocess(LuaxState& state) + { + // blendö٣AsuraEngine.EBlendMode + LuaxEnum EBlendMode[] = { + { "Additive", 1 }, + { "PreBlend", 2 }, + { "Substruction", 3 }, + { "Multiplied", 4 }, + {0, 0} + }; + + state.RegisterEnum("EBlendMode", EBlendMode); + } + + } +}
\ No newline at end of file |