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