aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/GalTexture.cs
blob: 75aef307252fb88361ade03f84caf85c9cbb6b60 (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
34
35
36
37
namespace Ryujinx.Graphics.Gal
{
    public struct GalTexture
    {
        public byte[] Data;

        public int Width;
        public int Height;

        public GalTextureFormat Format;

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

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