mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 19:05:46 +00:00
15 lines
325 B
C#
15 lines
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);
|
||
|
}
|
||
|
}
|