Allow Lua to have access to the RageTexture.
More...
|
|
| DEFINE_METHOD (GetSourceWidth, GetSourceWidth()) |
|
| DEFINE_METHOD (GetSourceHeight, GetSourceHeight()) |
|
| DEFINE_METHOD (GetTextureWidth, GetTextureWidth()) |
|
| DEFINE_METHOD (GetTextureHeight, GetTextureHeight()) |
|
| DEFINE_METHOD (GetImageWidth, GetImageWidth()) |
|
| DEFINE_METHOD (GetImageHeight, GetImageHeight()) |
|
| DEFINE_METHOD (GetPath, GetID().filename) |
| auto | GetClassName () const -> const std::string &override |
| auto | GetBaseClassName () const -> const std::string &override |
|
void | Register (lua_State *L) |
|
auto | IsDerivedClass () const -> bool |
|
|
static int | position (T *p, lua_State *L) |
|
static int | loop (T *p, lua_State *L) |
|
static int | rate (T *p, lua_State *L) |
|
static int | GetTextureCoordRect (T *p, lua_State *L) |
|
static int | GetNumFrames (T *p, lua_State *L) |
|
static int | Reload (T *p, lua_State *L) |
|
static int | GetAverageColor (T *p, lua_State *L) |
|
static auto | check (lua_State *L, int narg, bool bIsSelf=false) -> T * |
|
static auto | get (lua_State *L, int narg) -> T * |
|
static void | PushObject (Lua *L, const std::string &sDerivedClassName, T *p) |
|
static void | RegisterTypes (lua_State *L) |
|
static void | ApplyDerivedType (Lua *L, const std::string &sClassname, void *pSelf) |
|
static auto | CheckLuaObjectType (lua_State *L, int narg, std::string const &szType) -> bool |
|
|
static std::string | m_sClassName |
|
static std::string | m_sBaseClassName |
|
using | T |
|
using | binding_t |
| void | Register (Lua *L, int iMethods, int iMetatable) override |
|
void | AddMethod (std::string const ®Name, int(*pFunc)(T *p, lua_State *L)) |
|
static void | CreateMethodsTable (lua_State *L, const std::string &szName) |
|
static auto | GetPointerFromStack (Lua *L, const std::string &sType, int iArg) -> void * |
|
static auto | Equal (lua_State *L) -> bool |
|
static auto | PushEqual (lua_State *L) -> int |
Allow Lua to have access to the RageTexture.
The documentation for this class was generated from the following file:
- /home/runner/work/etterna/etterna/src/RageUtil/Graphics/RageTexture.cpp