From 28618c58d7ee1ae63fc57deca791a64ab38b57af Mon Sep 17 00:00:00 2001 From: emmauss Date: Mon, 28 Jun 2021 20:09:43 +0000 Subject: Add Screenshot Feature (#2354) * Add internal screenshot capabilities * update version notice --- Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs (limited to 'Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs') diff --git a/Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs b/Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs new file mode 100644 index 00000000..227d64b6 --- /dev/null +++ b/Ryujinx.Graphics.GAL/ScreenCaptureImageInfo.cs @@ -0,0 +1,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; } + } +} \ No newline at end of file -- cgit v1.2.3