mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-08 20:02:39 +00:00
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public struct GalImage
|
|
{
|
|
public int Width;
|
|
public int Height;
|
|
public int Depth;
|
|
|
|
public GalImageFormat Format;
|
|
public GalImageTarget Target;
|
|
|
|
public GalTextureSource XSource;
|
|
public GalTextureSource YSource;
|
|
public GalTextureSource ZSource;
|
|
public GalTextureSource WSource;
|
|
|
|
public GalImage(
|
|
int Width,
|
|
int Height,
|
|
int Depth,
|
|
GalImageFormat Format,
|
|
GalImageTarget Target,
|
|
GalTextureSource XSource = GalTextureSource.Red,
|
|
GalTextureSource YSource = GalTextureSource.Green,
|
|
GalTextureSource ZSource = GalTextureSource.Blue,
|
|
GalTextureSource WSource = GalTextureSource.Alpha)
|
|
{
|
|
this.Width = Width;
|
|
this.Height = Height;
|
|
this.Depth = Depth;
|
|
this.Format = Format;
|
|
this.Target = Target;
|
|
this.XSource = XSource;
|
|
this.YSource = YSource;
|
|
this.ZSource = ZSource;
|
|
this.WSource = WSource;
|
|
}
|
|
}
|
|
} |