aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/ViewportExtents.cs
blob: d7728f41b65a2a8f5458ee69e2b07470251757dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.Graphics.Gpu.State
{
    /// <summary>
    /// Viewport extents for viewport clipping, also includes depth range.
    /// </summary>
    struct ViewportExtents
    {
#pragma warning disable CS0649
        public ushort X;
        public ushort Width;
        public ushort Y;
        public ushort Height;
        public float  DepthNear;
        public float  DepthFar;
#pragma warning restore CS0649
    }
}