ITexture.cs 445 B

12345678910111213141516
  1. using System;
  2. namespace Ryujinx.Graphics.GAL
  3. {
  4. public interface ITexture : IDisposable
  5. {
  6. void CopyTo(ITexture destination, int firstLayer, int firstLevel);
  7. void CopyTo(ITexture destination, Extents2D srcRegion, Extents2D dstRegion, bool linearFilter);
  8. ITexture CreateView(TextureCreateInfo info, int firstLayer, int firstLevel);
  9. byte[] GetData();
  10. void SetData(ReadOnlySpan<byte> data);
  11. }
  12. }