aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs
blob: 129913ec17e9a9e118ca526e8a40c536b7bfeec5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace Ryujinx.Graphics.GAL
{
    public readonly struct ScreenCaptureImageInfo
    {
        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; }
    }
}