Ryujinx/Ryujinx.Graphics.GAL/IBuffer.cs
2020-01-09 02:13:00 +01:00

15 lines
No EOL
325 B
C#

using System;
namespace Ryujinx.Graphics.GAL
{
public interface IBuffer : IDisposable
{
void CopyTo(IBuffer destination, int srcOffset, int dstOffset, int size);
byte[] GetData(int offset, int size);
void SetData(Span<byte> data);
void SetData(int offset, Span<byte> data);
}
}