Rectangle.cs 397 B

123456789101112131415161718
  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. public Rectangle(T x, T y, T width, T height)
  10. {
  11. X = x;
  12. Y = y;
  13. Width = width;
  14. Height = height;
  15. }
  16. }
  17. }