blob: 43e3769186d32297261d04dbb492ca9e70b6a592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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);
void SetData(int offset, ReadOnlySpan<byte> data);
}
}
|