summaryrefslogtreecommitdiff
path: root/src/SMAPI/IRawTextureData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/IRawTextureData.cs')
-rw-r--r--src/SMAPI/IRawTextureData.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/SMAPI/IRawTextureData.cs b/src/SMAPI/IRawTextureData.cs
new file mode 100644
index 00000000..a4da52f3
--- /dev/null
+++ b/src/SMAPI/IRawTextureData.cs
@@ -0,0 +1,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; }
+ }
+}