2019-10-13 08:02:07 +02:00
|
|
|
namespace Ryujinx.Graphics.Gpu.Memory
|
|
|
|
{
|
2019-12-31 04:22:58 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Range of memory.
|
|
|
|
/// </summary>
|
|
|
|
/// <typeparam name="T">GPU resource type</typeparam>
|
2019-10-13 08:02:07 +02:00
|
|
|
interface IRange<T>
|
|
|
|
{
|
|
|
|
ulong Address { get; }
|
|
|
|
ulong Size { get; }
|
|
|
|
|
|
|
|
bool OverlapsWith(ulong address, ulong size);
|
|
|
|
}
|
|
|
|
}
|