2021-06-28 20:09:43 +00:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
2022-12-05 13:47:39 +00:00
|
|
|
public readonly struct ScreenCaptureImageInfo
|
2021-06-28 20:09:43 +00: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; }
|
|
|
|
}
|
|
|
|
}
|