ITexture.cs 512 B

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