aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Texture/Size.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Texture/Size.cs')
-rw-r--r--src/Ryujinx.Graphics.Texture/Size.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Texture/Size.cs b/src/Ryujinx.Graphics.Texture/Size.cs
new file mode 100644
index 00000000..21c45b38
--- /dev/null
+++ b/src/Ryujinx.Graphics.Texture/Size.cs
@@ -0,0 +1,16 @@
+namespace Ryujinx.Graphics.Texture
+{
+ public readonly struct Size
+ {
+ public int Width { get; }
+ public int Height { get; }
+ public int Depth { get; }
+
+ public Size(int width, int height, int depth)
+ {
+ Width = width;
+ Height = height;
+ Depth = depth;
+ }
+ }
+} \ No newline at end of file