IGalRenderTarget.cs 921 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. namespace Ryujinx.Graphics.Gal
  2. {
  3. public interface IGalRenderTarget
  4. {
  5. void BindColor(long Key, int Attachment, GalImage Image);
  6. void UnbindColor(int Attachment);
  7. void BindZeta(long Key, GalImage Image);
  8. void UnbindZeta();
  9. void Set(long Key);
  10. void SetMap(int[] Map);
  11. void SetTransform(bool FlipX, bool FlipY, int Top, int Left, int Right, int Bottom);
  12. void SetWindowSize(int Width, int Height);
  13. void SetViewport(int X, int Y, int Width, int Height);
  14. void Render();
  15. void Copy(
  16. long SrcKey,
  17. long DstKey,
  18. int SrcX0,
  19. int SrcY0,
  20. int SrcX1,
  21. int SrcY1,
  22. int DstX0,
  23. int DstY0,
  24. int DstX1,
  25. int DstY1);
  26. void Reinterpret(long Key, GalImage NewImage);
  27. byte[] GetData(long Key);
  28. }
  29. }