aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/IRenderer.cs
diff options
context:
space:
mode:
authoremmauss <emmausssss@gmail.com>2021-06-28 20:09:43 +0000
committerGitHub <noreply@github.com>2021-06-28 22:09:43 +0200
commit28618c58d7ee1ae63fc57deca791a64ab38b57af (patch)
treece7e84d5301ca6222cb2cdad7cf82eb2a1682ce3 /Ryujinx.Graphics.GAL/IRenderer.cs
parenta79b39b91347816ea14677b58af738b70df03e9c (diff)
Add Screenshot Feature (#2354)
* Add internal screenshot capabilities * update version notice
Diffstat (limited to 'Ryujinx.Graphics.GAL/IRenderer.cs')
-rw-r--r--Ryujinx.Graphics.GAL/IRenderer.cs4
1 files changed, 4 insertions, 0 deletions
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<ScreenCaptureImageInfo> 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();
}
}