lua/wrappers/gfx/lua_texture.cpp
/**
	 * Compares this texture with another texture object.
	 *
	 * @param am.texture rhs The other sprite to compare with.
	 * @returns boolean True if they are the same object.
	 */
Compares this texture with another texture object.
@param am.texture rhs The other sprite to compare with.
@returns boolean True if they are the same object.
Compares this texture with another texture object . @param am . texture rhs The other sprite to compare with . @returns boolean True if they are the same object .
int Texture_eq(lua_State *lua)
	{
		Texture *lhs = castUData<Texture>(lua, 1);
		if (!lhs)
		{
			return LuaState::expectedContext(lua, "__eq", "am.texture");
		}
		Texture *rhs = castUData<Texture>(lua, 2);
		lua_pushboolean(lua, lhs == rhs);
		return 1;
	}
int Texture_eq ( lua_State * lua ) { Texture * lhs = castUData < Texture > ( lua , 1 ) ; if ( ! lhs ) { return LuaState :: expectedContext ( lua , " " , " " ) ; } Texture * rhs = castUData < Texture > ( lua , 2 ) ; lua_pushboolean ( lua , lhs == rhs ) ; return 1 ; }
Compares this texture with another texture object.
Compares this texture with another texture object .