IGalRenderer.cs 737 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. namespace Ryujinx.Graphics.Gal
  3. {
  4. public unsafe interface IGalRenderer
  5. {
  6. void QueueAction(Action ActionMthd);
  7. void RunActions();
  8. void InitializeFrameBuffer();
  9. void Render();
  10. void SetWindowSize(int Width, int Height);
  11. void SetFrameBuffer(
  12. byte* Fb,
  13. int Width,
  14. int Height,
  15. float ScaleX,
  16. float ScaleY,
  17. float OffsX,
  18. float OffsY,
  19. float Rotate);
  20. void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
  21. void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
  22. void BindTexture(int Index);
  23. }
  24. }