aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Rectangle.cs
blob: 1e207926dafb95e2249a2ac56bd7ac5d5c0d447e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Ryujinx.Graphics.GAL
{
    public struct Rectangle<T> where T : unmanaged
    {
        public T X { get; }
        public T Y { get; }
        public T Width { get; }
        public T Height { get; }

        public Rectangle(T x, T y, T width, T height)
        {
            X = x;
            Y = y;
            Width = width;
            Height = height;
        }
    }
}