IBuffer.cs 341 B

123456789101112131415
  1. using System;
  2. namespace Ryujinx.Graphics.GAL
  3. {
  4. public interface IBuffer : IDisposable
  5. {
  6. void CopyTo(IBuffer destination, int srcOffset, int dstOffset, int size);
  7. byte[] GetData(int offset, int size);
  8. void SetData(ReadOnlySpan<byte> data);
  9. void SetData(int offset, ReadOnlySpan<byte> data);
  10. }
  11. }