ITexture.cs 490 B

1234567891011121314151617
  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. void SetStorage(BufferRange buffer);
  12. }
  13. }