/ src / Ryujinx.Graphics.GAL / Rectangle.cs
Rectangle.cs
 1  namespace Ryujinx.Graphics.GAL
 2  {
 3      public readonly struct Rectangle<T> where T : unmanaged
 4      {
 5          public T X { get; }
 6          public T Y { get; }
 7          public T Width { get; }
 8          public T Height { get; }
 9  
10          public Rectangle(T x, T y, T width, T height)
11          {
12              X = x;
13              Y = y;
14              Width = width;
15              Height = height;
16          }
17      }
18  }