lua/wrappers/gfx/lua_asset.cpp
/**
	 * Removes all the textures from the asset.
	 *
	 * @returns am.asset This
	 */
Removes all the textures from the asset.
Removes all the textures from the asset .
int Asset_remove_all_textures(lua_State *lua)
	{
		Asset *asset = castUData<Asset>(lua, 1);
		if (asset)
		{
			asset->removeAllTextures();
			lua_first(lua);
		}
		return LuaState::expectedContext(lua, "remove_all_textures", "am.asset");
	}
int Asset_remove_all_textures ( lua_State * lua ) { Asset * asset = castUData < Asset > ( lua , 1 ) ; if ( asset ) { asset -> removeAllTextures ( ) ; lua_first ( lua ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Removes all the textures from the asset.
Removes all the textures from the asset .