/ src / Ryujinx.Graphics.Gpu / Engine / Twod / TwodTexture.cs
TwodTexture.cs
 1  using Ryujinx.Graphics.Gpu.Engine.Types;
 2  
 3  namespace Ryujinx.Graphics.Gpu.Engine.Twod
 4  {
 5      /// <summary>
 6      /// Texture to texture (with optional resizing) copy parameters.
 7      /// </summary>
 8      struct TwodTexture
 9      {
10  #pragma warning disable CS0649 // Field is never assigned to
11          public ColorFormat Format;
12          public Boolean32 LinearLayout;
13          public MemoryLayout MemoryLayout;
14          public int Depth;
15          public int Layer;
16          public int Stride;
17          public int Width;
18          public int Height;
19          public GpuVa Address;
20  #pragma warning restore CS0649
21      }
22  }