diff options
Diffstat (limited to 'src/Ryujinx.Graphics.GAL/ITexture.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.GAL/ITexture.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Ryujinx.Graphics.GAL/ITexture.cs b/src/Ryujinx.Graphics.GAL/ITexture.cs index 2d9c6b79..2aa4053f 100644 --- a/src/Ryujinx.Graphics.GAL/ITexture.cs +++ b/src/Ryujinx.Graphics.GAL/ITexture.cs @@ -1,4 +1,4 @@ -using System.Buffers; +using Ryujinx.Common.Memory; namespace Ryujinx.Graphics.GAL { @@ -18,30 +18,30 @@ namespace Ryujinx.Graphics.GAL PinnedSpan<byte> GetData(int layer, int level); /// <summary> - /// Sets the texture data. The data passed as a <see cref="IMemoryOwner{Byte}" /> will be disposed when + /// Sets the texture data. The data passed as a <see cref="MemoryOwner{Byte}" /> will be disposed when /// the operation completes. /// </summary> /// <param name="data">Texture data bytes</param> - void SetData(IMemoryOwner<byte> data); + void SetData(MemoryOwner<byte> data); /// <summary> - /// Sets the texture data. The data passed as a <see cref="IMemoryOwner{Byte}" /> will be disposed when + /// Sets the texture data. The data passed as a <see cref="MemoryOwner{Byte}" /> will be disposed when /// the operation completes. /// </summary> /// <param name="data">Texture data bytes</param> /// <param name="layer">Target layer</param> /// <param name="level">Target level</param> - void SetData(IMemoryOwner<byte> data, int layer, int level); + void SetData(MemoryOwner<byte> data, int layer, int level); /// <summary> - /// Sets the texture data. The data passed as a <see cref="IMemoryOwner{Byte}" /> will be disposed when + /// Sets the texture data. The data passed as a <see cref="MemoryOwner{Byte}" /> will be disposed when /// the operation completes. /// </summary> /// <param name="data">Texture data bytes</param> /// <param name="layer">Target layer</param> /// <param name="level">Target level</param> /// <param name="region">Target sub-region of the texture to update</param> - void SetData(IMemoryOwner<byte> data, int layer, int level, Rectangle<int> region); + void SetData(MemoryOwner<byte> data, int layer, int level, Rectangle<int> region); void SetStorage(BufferRange buffer); |
