1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-28 03:36:03 +00:00
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;
}
}
}