public Texture2D CreateSaveTexture(GraphicsDevice Device, int Width, int Height) { var r = new Texture2D(Device, Width, Height, false, SurfaceFormat.Color); var data = new Color[Width * Height]; Overworld.GenerateSaveTexture(Data, Width, Height, data); r.SetData(data); return(r); }