Files
WickedEngine/WickedEngine/wiSprite_BindLua.h
T
Turánszki János 74cb74d3c9 version 0.60 (#367)
- namespace refactor (example: wiGraphics:: -> wi::graphics)
  - provided namespace compatibility macro for old user code: WICKEDENGINE_BACKWARDS_COMPATIBILITY_0_59
- resource manager will return `Resource` instead of `shared_ptr<Resource>` objects
- MAD shader optimizations
- implemented alpha to coverage with alpha tested materials when MSAA is enabled
- alpha testing fix with transparent shadow maps
- TLAS and scene buffers will be recreated less frequently when things get added/removed from the scene
2021-12-03 21:22:27 +01:00

28 lines
524 B
C++

#pragma once
#include "wiLua.h"
#include "wiLuna.h"
#include "wiSprite.h"
namespace wi::lua
{
class Sprite_BindLua
{
public:
wi::Sprite sprite;
static const char className[];
static Luna<Sprite_BindLua>::FunctionType methods[];
static Luna<Sprite_BindLua>::PropertyType properties[];
Sprite_BindLua(const wi::Sprite& sprite);
Sprite_BindLua(lua_State* L);
int SetParams(lua_State* L);
int GetParams(lua_State* L);
int SetAnim(lua_State* L);
int GetAnim(lua_State* L);
static void Bind();
};
}