Ryujinx/Ryujinx.Graphics.Vic/ResourceManager.cs

20 lines
534 B
C#
Raw Normal View History

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