aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs
blob: 227d64b69b91328317f3986853a990c2ce02733b (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 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; }
    }
}