IRange.cs 314 B

1234567891011121314
  1. namespace Ryujinx.Graphics.Gpu.Memory
  2. {
  3. /// <summary>
  4. /// Range of memory.
  5. /// </summary>
  6. /// <typeparam name="T">GPU resource type</typeparam>
  7. interface IRange<T>
  8. {
  9. ulong Address { get; }
  10. ulong Size { get; }
  11. bool OverlapsWith(ulong address, ulong size);
  12. }
  13. }