IGalRenderer.cs 594 B

123456789101112131415161718
  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(byte* Fb, int Width, int Height, float SX, float SY, float R);
  12. void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
  13. void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
  14. void BindTexture(int Index);
  15. }
  16. }