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



                                     
                                   











                                                                                                             
using Ryujinx.Graphics.Gpu.Memory;
using Ryujinx.Graphics.Vic.Image;

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

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