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