ScreenCaptureImageInfo.cs 625 B

12345678910111213141516171819202122
  1. namespace Ryujinx.Graphics.GAL
  2. {
  3. public readonly struct ScreenCaptureImageInfo
  4. {
  5. public ScreenCaptureImageInfo(int width, int height, bool isBgra, byte[] data, bool flipX, bool flipY)
  6. {
  7. Width = width;
  8. Height = height;
  9. IsBgra = isBgra;
  10. Data = data;
  11. FlipX = flipX;
  12. FlipY = flipY;
  13. }
  14. public int Width { get; }
  15. public int Height { get; }
  16. public byte[] Data { get; }
  17. public bool IsBgra { get; }
  18. public bool FlipX { get; }
  19. public bool FlipY { get; }
  20. }
  21. }