/// <summary> /// Unload an already loaded <see cref="Effect"/> from memory. /// </summary> /// <param name="name">The name assigned to a previously loaded effect.</param> public static void UnloadEffect(string name) { effects.Remove(name); }
/// <summary> /// Unload an already loaded <see cref="BMFont"/> from memory. /// </summary> /// <param name="name">The name assigned to a previously loaded font.</param> public static void UnloadFont(string name) { fonts.Remove(name); }
/// <summary> /// Unload an already loaded <see cref="Texture2D"/> from memory. /// </summary> /// <param name="name">The name assigned to a previously loaded image.</param> public static void UnloadImage(string name) { textures.Remove(name); }
/// <summary> /// Remove registered <see cref="SpriteData"/>. /// </summary> /// <param name="name">The name given to the sprite data that was previously registered.</param> public static void RemoveSpriteData(string name) { spriteDataLookup.Remove(name); }
/// <summary> /// Unload an already loaded <see cref="SoundEffect"/> from memory. /// </summary> /// <param name="name">The name assigned to a previously loaded sound effect.</param> public static void UnloadSoundEffect(string name) { soundEffects.Remove(name); }
/// <summary> /// Remove registered <see cref="ShapeData"/>. /// </summary> /// <param name="name">The name given to shape data that was already registered.</param> public static void RemoveShapeData(string name) { shapes.Remove(name); }
/// <summary> /// Remove a registered <see cref="DebugEntry"/>. /// </summary> /// <param name="name">The name given to the debug entry that was previously registered.</param> public static void RemoveDebugEntry(string name) { debugEntries.Remove(name); }
/// <summary> /// Remove a registered <see cref="Camera"/>. /// </summary> /// <param name="name">The name given to the camera that was previously registered.</param> public static void RemoveCamera(string name) { cameras.Remove(name); }
/// <summary> /// Remove a saved <see cref="InputProfile"/>. /// </summary> /// <param name="name">The name of the input profile that was previously saved.</param> public static void RemoveProfile(string name) { profiles.Remove(name); }
/// <summary> /// Remove a registered <see cref="Scene"/>. /// </summary> /// <param name="name">The name given to the scene that was previously registered.</param> public static void RemoveScene(string name) { scenes.Remove(name); }