Ryujinx/src/Ryujinx.Graphics.Vic/ResourceManager.cs

20 lines
557 B
C#
Raw Normal View History

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