aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/GalTexture.cs
blob: 2c1be65b2155e214a8e6db75a60db637197dc2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Ryujinx.Graphics.Gal
{
    public struct GalTexture
    {
        public int Width;
        public int Height;

        public GalTextureFormat Format;

        public GalTextureSource XSource;
        public GalTextureSource YSource;
        public GalTextureSource ZSource;
        public GalTextureSource WSource;

        public GalTexture(
            int              Width,
            int              Height,
            GalTextureFormat Format,
            GalTextureSource XSource,
            GalTextureSource YSource,
            GalTextureSource ZSource,
            GalTextureSource WSource)
        {
            this.Width   = Width;
            this.Height  = Height;
            this.Format  = Format;
            this.XSource = XSource;
            this.YSource = YSource;
            this.ZSource = ZSource;
            this.WSource = WSource;
        }
    }
}