ITexture.cs 500 B

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