aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Gpu/NsGpu.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Gpu/NsGpu.cs')
-rw-r--r--Ryujinx/Gpu/NsGpu.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Ryujinx/Gpu/NsGpu.cs b/Ryujinx/Gpu/NsGpu.cs
new file mode 100644
index 00000000..6aa7332c
--- /dev/null
+++ b/Ryujinx/Gpu/NsGpu.cs
@@ -0,0 +1,22 @@
+using Gal;
+
+namespace Ryujinx.Gpu
+{
+ class NsGpu
+ {
+ public IGalRenderer Renderer { get; private set; }
+
+ public NsGpuMemoryMgr MemoryMgr { get; private set; }
+
+ public NsGpuPGraph PGraph { get; private set; }
+
+ public NsGpu(IGalRenderer Renderer)
+ {
+ this.Renderer = Renderer;
+
+ MemoryMgr = new NsGpuMemoryMgr();
+
+ PGraph = new NsGpuPGraph(this);
+ }
+ }
+} \ No newline at end of file