2021-06-28 22:09:43 +02:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
2022-12-05 14:47:39 +01:00
|
|
|
public readonly struct ScreenCaptureImageInfo
|
2021-06-28 22:09:43 +02:00
|
|
|
{
|
|
|
|
public ScreenCaptureImageInfo(int width, int height, bool isBgra, byte[] data, bool flipX, bool flipY)
|
|
|
|
{
|
|
|
|
Width = width;
|
|
|
|
Height = height;
|
|
|
|
IsBgra = isBgra;
|
|
|
|
Data = data;
|
|
|
|
FlipX = flipX;
|
|
|
|
FlipY = flipY;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int Width { get; }
|
|
|
|
public int Height { get; }
|
|
|
|
public byte[] Data { get; }
|
|
|
|
public bool IsBgra { get; }
|
|
|
|
public bool FlipX { get; }
|
|
|
|
public bool FlipY { get; }
|
|
|
|
}
|
|
|
|
}
|