Ryujinx/Ryujinx.Graphics.Gpu/State/ViewportExtents.cs

18 lines
428 B
C#
Raw Normal View History

2019-10-12 23:02:07 -07:00
namespace Ryujinx.Graphics.Gpu.State
{
/// <summary>
/// Viewport extents for viewport clipping, also includes depth range.
/// </summary>
2019-10-12 23:02:07 -07:00
struct ViewportExtents
{
#pragma warning disable CS0649
2019-10-12 23:02:07 -07:00
public ushort X;
public ushort Width;
public ushort Y;
public ushort Height;
public float DepthNear;
public float DepthFar;
#pragma warning restore CS0649
2019-10-12 23:02:07 -07:00
}
}