aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/ITexture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/ITexture.cs')
-rw-r--r--Ryujinx.Graphics.GAL/ITexture.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.GAL/ITexture.cs b/Ryujinx.Graphics.GAL/ITexture.cs
index 7f46806c..4dc93303 100644
--- a/Ryujinx.Graphics.GAL/ITexture.cs
+++ b/Ryujinx.Graphics.GAL/ITexture.cs
@@ -1,3 +1,4 @@
+using Ryujinx.Common.Memory;
using System;
namespace Ryujinx.Graphics.GAL
@@ -17,9 +18,9 @@ namespace Ryujinx.Graphics.GAL
ReadOnlySpan<byte> GetData();
ReadOnlySpan<byte> GetData(int layer, int level);
- void SetData(ReadOnlySpan<byte> data);
- void SetData(ReadOnlySpan<byte> data, int layer, int level);
- void SetData(ReadOnlySpan<byte> data, int layer, int level, Rectangle<int> region);
+ void SetData(SpanOrArray<byte> data);
+ void SetData(SpanOrArray<byte> data, int layer, int level);
+ void SetData(SpanOrArray<byte> data, int layer, int level, Rectangle<int> region);
void SetStorage(BufferRange buffer);
void Release();
}