2018-04-08 21:17:35 +02:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
{
|
2018-08-20 03:25:26 +02:00
|
|
|
public struct GalImage
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
|
|
|
public int Width;
|
|
|
|
public int Height;
|
|
|
|
|
2018-08-20 03:25:26 +02:00
|
|
|
public GalImageFormat Format;
|
2018-04-08 21:17:35 +02:00
|
|
|
|
2018-05-17 20:25:42 +02:00
|
|
|
public GalTextureSource XSource;
|
|
|
|
public GalTextureSource YSource;
|
|
|
|
public GalTextureSource ZSource;
|
|
|
|
public GalTextureSource WSource;
|
|
|
|
|
2018-08-20 03:25:26 +02:00
|
|
|
public GalImage(
|
2018-05-17 20:25:42 +02:00
|
|
|
int Width,
|
|
|
|
int Height,
|
2018-08-20 03:25:26 +02:00
|
|
|
GalImageFormat Format,
|
|
|
|
GalTextureSource XSource = GalTextureSource.Red,
|
|
|
|
GalTextureSource YSource = GalTextureSource.Green,
|
|
|
|
GalTextureSource ZSource = GalTextureSource.Blue,
|
|
|
|
GalTextureSource WSource = GalTextureSource.Alpha)
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
2018-05-17 20:25:42 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|