Texture.cs 934 B

12345678910111213141516171819202122232425262728293031323334
  1. using Ryujinx.Graphics.Gal;
  2. namespace Ryujinx.Graphics.Gpu
  3. {
  4. struct Texture
  5. {
  6. public long Position { get; private set; }
  7. public int Width { get; private set; }
  8. public int Height { get; private set; }
  9. public int BlockHeight { get; private set; }
  10. public TextureSwizzle Swizzle { get; private set; }
  11. public GalTextureFormat Format { get; private set; }
  12. public Texture(
  13. long Position,
  14. int Width,
  15. int Height,
  16. int BlockHeight,
  17. TextureSwizzle Swizzle,
  18. GalTextureFormat Format)
  19. {
  20. this.Position = Position;
  21. this.Width = Width;
  22. this.Height = Height;
  23. this.BlockHeight = BlockHeight;
  24. this.Swizzle = Swizzle;
  25. this.Format = Format;
  26. }
  27. }
  28. }