summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-core/graphics/binding/image_data.binding.cpp
blob: 0d68c11a20075270cf467233dc5519aab1b1f699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "../image.h"

using namespace Luax;

namespace AsuraEngine
{
	namespace Graphics
	{

		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);
		}

	}
}