GalTexture.cs 989 B

12345678910111213141516171819202122232425262728293031323334353637
  1. namespace Ryujinx.Graphics.Gal
  2. {
  3. public struct GalTexture
  4. {
  5. public byte[] Data;
  6. public int Width;
  7. public int Height;
  8. public GalTextureFormat Format;
  9. public GalTextureSource XSource;
  10. public GalTextureSource YSource;
  11. public GalTextureSource ZSource;
  12. public GalTextureSource WSource;
  13. public GalTexture(
  14. byte[] Data,
  15. int Width,
  16. int Height,
  17. GalTextureFormat Format,
  18. GalTextureSource XSource,
  19. GalTextureSource YSource,
  20. GalTextureSource ZSource,
  21. GalTextureSource WSource)
  22. {
  23. this.Data = Data;
  24. this.Width = Width;
  25. this.Height = Height;
  26. this.Format = Format;
  27. this.XSource = XSource;
  28. this.YSource = YSource;
  29. this.ZSource = ZSource;
  30. this.WSource = WSource;
  31. }
  32. }
  33. }