aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/ValueRange.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/ValueRange.cs')
-rw-r--r--Ryujinx.Graphics/ValueRange.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/ValueRange.cs b/Ryujinx.Graphics/ValueRange.cs
new file mode 100644
index 00000000..6298bd8e
--- /dev/null
+++ b/Ryujinx.Graphics/ValueRange.cs
@@ -0,0 +1,17 @@
+namespace Ryujinx.Graphics
+{
+ struct ValueRange<T>
+ {
+ public long Start { get; private set; }
+ public long End { get; private set; }
+
+ public T Value { get; set; }
+
+ public ValueRange(long Start, long End, T Value = default(T))
+ {
+ this.Start = Start;
+ this.End = End;
+ this.Value = Value;
+ }
+ }
+} \ No newline at end of file