9#define ASSET_LUA_NAME "Asset"
10#define ASSET_LUA_FLAG "cfAsset"
11#define CHECK_ASSET(L, Arg) CheckAssetLuaType<Asset>(L, Arg, ASSET_LUA_NAME, ASSET_LUA_FLAG);
12#define CHECK_ASSET_USERDATA(L, Arg) CheckHierarchyLuaType<Asset_Lua>(L, Arg, ASSET_LUA_NAME, ASSET_LUA_FLAG)->mAsset.Get();
21 static int Create(lua_State* L,
const Asset* asset,
bool allowNull =
false);
22 static int Destroy(lua_State* L);
24 static int Equals(lua_State* L);
26 static int GetName(lua_State* L);
27 static int IsRefCounted(lua_State* L);
28 static int GetRefCount(lua_State* L);
30 static int GetTypeName(lua_State* L);
31 static int IsTransient(lua_State* L);
33 static int IsLoaded(lua_State* L);
35 static void BindCommon(lua_State* L,
int mtIndex);
#define POLYPHASE_API
Definition PolyphaseAPI.h:31