aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/GalTexture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Gal/GalTexture.cs')
-rw-r--r--Ryujinx.Graphics/Gal/GalTexture.cs27
1 files changed, 22 insertions, 5 deletions
diff --git a/Ryujinx.Graphics/Gal/GalTexture.cs b/Ryujinx.Graphics/Gal/GalTexture.cs
index fcf1f1ad..75aef307 100644
--- a/Ryujinx.Graphics/Gal/GalTexture.cs
+++ b/Ryujinx.Graphics/Gal/GalTexture.cs
@@ -9,12 +9,29 @@ namespace Ryujinx.Graphics.Gal
public GalTextureFormat Format;
- public GalTexture(byte[] Data, int Width, int Height, 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.Data = Data;
+ this.Width = Width;
+ this.Height = Height;
+ this.Format = Format;
+ this.XSource = XSource;
+ this.YSource = YSource;
+ this.ZSource = ZSource;
+ this.WSource = WSource;
}
}
} \ No newline at end of file