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

18 lines
428 B
C#
Raw Normal View History

2019-10-13 08:02:07 +02:00
namespace Ryujinx.Graphics.Gpu.State
{
/// <summary>
/// Viewport extents for viewport clipping, also includes depth range.
/// </summary>
2019-10-13 08:02:07 +02:00
struct ViewportExtents
{
#pragma warning disable CS0649
2019-10-13 08:02:07 +02: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-13 08:02:07 +02:00
}
}