mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 08:32:01 +00:00
37 lines
No EOL
989 B
C#
37 lines
No EOL
989 B
C#
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;
|
|
}
|
|
}
|
|
} |