ResourceManager.cs
1 using Ryujinx.Graphics.Device; 2 using Ryujinx.Graphics.Vic.Image; 3 4 namespace Ryujinx.Graphics.Vic 5 { 6 readonly struct ResourceManager 7 { 8 public DeviceMemoryManager MemoryManager { get; } 9 public BufferPool<Pixel> SurfacePool { get; } 10 public BufferPool<byte> BufferPool { get; } 11 12 public ResourceManager(DeviceMemoryManager mm, BufferPool<Pixel> surfacePool, BufferPool<byte> bufferPool) 13 { 14 MemoryManager = mm; 15 SurfacePool = surfacePool; 16 BufferPool = bufferPool; 17 } 18 } 19 }