mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-30 05:53:01 +00:00
20 lines
525 B
C#
20 lines
525 B
C#
|
using Ryujinx.Graphics.Gpu.Memory;
|
|||
|
using Ryujinx.Graphics.Vic.Image;
|
|||
|
|
|||
|
namespace Ryujinx.Graphics.Vic
|
|||
|
{
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|