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/IRenderer.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Ryujinx.Graphics.GAL/IRenderer.cs') diff --git a/Ryujinx.Graphics.GAL/IRenderer.cs b/Ryujinx.Graphics.GAL/IRenderer.cs index d03cb4c0..18f10915 100644 --- a/Ryujinx.Graphics.GAL/IRenderer.cs +++ b/Ryujinx.Graphics.GAL/IRenderer.cs @@ -6,6 +6,8 @@ namespace Ryujinx.Graphics.GAL { public interface IRenderer : IDisposable { + event EventHandler ScreenCaptured; + IPipeline Pipeline { get; } IWindow Window { get; } @@ -44,5 +46,7 @@ namespace Ryujinx.Graphics.GAL void WaitSync(ulong id); void Initialize(GraphicsDebugLevel logLevel); + + void Screenshot(); } } -- cgit v1.2.3