lua/wrappers/gfx/lua_gfx_engine.cpp
/**
	 * @class
	 * Simple wrapper for the graphic engine class.
	 * Provides functionality for loading and storing graphical assets.
	 */
@class
Simple wrapper for the graphic engine class.
Provides functionality for loading and storing graphical assets.
@class Simple wrapper for the graphic engine class . Provides functionality for loading and storing graphical assets .
int GfxEngine_register(lua_State *lua)
	{
		luaL_Reg regs[] = 
		{
			{ "asset", GfxEngine_asset },
			{ "font", GfxEngine_font },
			{ nullptr, nullptr }
		};
		luaL_newmetatable(lua, am::gfx::GfxEngine::LUA_TABLENAME);
		luaL_setfuncs(lua, regs, 0);
		lua_pushvalue(lua, -1);
		lua_setfield(lua, -1, "__index");
		return 1;
	}
int GfxEngine_register ( lua_State * lua ) { luaL_Reg regs [ ] = { { " " , GfxEngine_asset } , { " " , GfxEngine_font } , { nullptr , nullptr } } ; luaL_newmetatable ( lua , am :: gfx :: GfxEngine :: LUA_TABLENAME ) ; luaL_setfuncs ( lua , regs , 0 ) ; lua_pushvalue ( lua , -1 ) ; lua_setfield ( lua , -1 , " " ) ; return 1 ; }
@class
 Simple wrapper for the graphic engine class.
@class Simple wrapper for the graphic engine class .