IGalFrameBuffer.cs 600 B

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace Ryujinx.Graphics.Gal
  3. {
  4. public interface IGalFrameBuffer
  5. {
  6. void Create(long Key, int Width, int Height);
  7. void Bind(long Key);
  8. void BindTexture(long Key, int Index);
  9. void Set(long Key);
  10. void Set(byte[] Data, int Width, int Height);
  11. void SetTransform(float SX, float SY, float Rotate, float TX, float TY);
  12. void SetWindowSize(int Width, int Height);
  13. void SetViewport(int X, int Y, int Width, int Height);
  14. void Render();
  15. void GetBufferData(long Key, Action<byte[]> Callback);
  16. }
  17. }