mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-15 05:27:42 -07:00
15 lines
341 B
C#
15 lines
341 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(ReadOnlySpan<byte> data);
|
|
|
|
void SetData(int offset, ReadOnlySpan<byte> data);
|
|
}
|
|
} |