IGalRenderTarget.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. namespace Ryujinx.Graphics.Gal
  2. {
  3. public interface IGalRenderTarget
  4. {
  5. void Bind();
  6. void BindColor(long key, int attachment);
  7. void UnbindColor(int attachment);
  8. void BindZeta(long key);
  9. void UnbindZeta();
  10. void Present(long key);
  11. void SetMap(int[] map);
  12. void SetTransform(bool flipX, bool flipY, int top, int left, int right, int bottom);
  13. void SetWindowSize(int width, int height);
  14. void SetViewport(int attachment, int x, int y, int width, int height);
  15. void Render();
  16. void Copy(
  17. GalImage srcImage,
  18. GalImage dstImage,
  19. long srcKey,
  20. long dstKey,
  21. int srcLayer,
  22. int dstLayer,
  23. int srcX0,
  24. int srcY0,
  25. int srcX1,
  26. int srcY1,
  27. int dstX0,
  28. int dstY0,
  29. int dstX1,
  30. int dstY1);
  31. void Reinterpret(long key, GalImage newImage);
  32. }
  33. }