ResourceManager.cs 557 B

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