ViewportExtents.cs 428 B

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