Ryujinx/src/Ryujinx.Graphics.Vic/ResourceManager.cs
2023-04-27 23:51:14 +02:00

19 lines
534 B
C#

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;
}
}
}