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