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