Ryujinx/Ryujinx.Graphics.GAL/IBuffer.cs

15 lines
341 B
C#
Raw Normal View History

2019-10-13 06:02:07 +00:00
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(ReadOnlySpan<byte> data);
2019-10-13 06:02:07 +00:00
void SetData(int offset, ReadOnlySpan<byte> data);
2019-10-13 06:02:07 +00:00
}
}