public static void Clear() { textures.ForEach(tex => tex.Dispose()); Palette = Palette.CreateDefault(); textures = new ResourceTracker <Texture>(); loadedImages = new ResourceTracker <RgbaImage>(); missingTextureNames = new HashSet <UpperString>(); }