aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Graphics.Vic/ResourceManager.cs
blob: e7d7ef74ae02583d11bd9323d81916f8c30c1ed8 (plain) (tree)
1
2
3
4
5
6
7
8
                              


                                 
                                   
     
                                                         

                                                     
                                                                                                                  
         
                               



                                      
using Ryujinx.Graphics.Device;
using Ryujinx.Graphics.Vic.Image;

namespace Ryujinx.Graphics.Vic
{
    readonly struct ResourceManager
    {
        public DeviceMemoryManager MemoryManager { get; }
        public BufferPool<Pixel> SurfacePool { get; }
        public BufferPool<byte> BufferPool { get; }

        public ResourceManager(DeviceMemoryManager mm, BufferPool<Pixel> surfacePool, BufferPool<byte> bufferPool)
        {
            MemoryManager = mm;
            SurfacePool = surfacePool;
            BufferPool = bufferPool;
        }
    }
}