summaryrefslogtreecommitdiff
path: root/src/SMAPI/IRawTextureData.cs
blob: a4da52f3ae146c2281d65f7c907e709f2ef5e36e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Microsoft.Xna.Framework;

namespace StardewModdingAPI
{
    /// <summary>The raw data for an image read from the filesystem.</summary>
    public interface IRawTextureData
    {
        /// <summary>The image width.</summary>
        int Width { get; }

        /// <summary>The image height.</summary>
        int Height { get; }

        /// <summary>The loaded image data.</summary>
        Color[] Data { get; }
    }
}