56 lines
1.2 KiB
C++
56 lines
1.2 KiB
C++
#pragma once
|
|
#include "wiLua.h"
|
|
#include "wiLuna.h"
|
|
#include "wiRenderPath2D.h"
|
|
#include "wiRenderPath_BindLua.h"
|
|
|
|
|
|
namespace wi::lua
|
|
{
|
|
|
|
class RenderPath2D_BindLua : public RenderPath_BindLua
|
|
{
|
|
private:
|
|
RenderPath2D renderpath;
|
|
public:
|
|
inline static constexpr char className[] = "RenderPath2D";
|
|
static Luna<RenderPath2D_BindLua>::FunctionType methods[];
|
|
static Luna<RenderPath2D_BindLua>::PropertyType properties[];
|
|
|
|
RenderPath2D_BindLua() = default;
|
|
RenderPath2D_BindLua(RenderPath2D* component)
|
|
{
|
|
this->component = component;
|
|
}
|
|
RenderPath2D_BindLua(lua_State* L)
|
|
{
|
|
this->component = &renderpath;
|
|
}
|
|
virtual ~RenderPath2D_BindLua() = default;
|
|
|
|
int AddSprite(lua_State* L);
|
|
int AddVideoSprite(lua_State* L);
|
|
int AddFont(lua_State* L);
|
|
int RemoveSprite(lua_State* L);
|
|
int RemoveFont(lua_State* L);
|
|
int ClearSprites(lua_State* L);
|
|
int ClearFonts(lua_State* L);
|
|
int GetSpriteOrder(lua_State* L);
|
|
int GetFontOrder(lua_State* L);
|
|
|
|
int AddLayer(lua_State* L);
|
|
int GetLayers(lua_State* L);
|
|
int SetLayerOrder(lua_State* L);
|
|
int SetSpriteOrder(lua_State* L);
|
|
int SetFontOrder(lua_State* L);
|
|
|
|
int GetHDRScaling(lua_State* L);
|
|
int SetHDRScaling(lua_State* L);
|
|
|
|
int CopyFrom(lua_State* L);
|
|
|
|
static void Bind();
|
|
};
|
|
|
|
}
|