2018-04-08 21:17:35 +02:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
{
|
|
|
|
public struct GalTexture
|
|
|
|
{
|
|
|
|
public byte[] Data;
|
|
|
|
|
|
|
|
public int Width;
|
|
|
|
public int Height;
|
|
|
|
|
|
|
|
public GalTextureFormat Format;
|
|
|
|
|
2018-05-17 20:25:42 +02:00
|
|
|
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)
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
2018-05-17 20:25:42 +02:00
|
|
|
this.Data = Data;
|
|
|
|
this.Width = Width;
|
|
|
|
this.Height = Height;
|
|
|
|
this.Format = Format;
|
|
|
|
this.XSource = XSource;
|
|
|
|
this.YSource = YSource;
|
|
|
|
this.ZSource = ZSource;
|
|
|
|
this.WSource = WSource;
|
2018-04-08 21:17:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|