GalVertexAttrib.cs 900 B

123456789101112131415161718192021222324252627282930
  1. namespace Ryujinx.Graphics.Gal
  2. {
  3. public struct GalVertexAttrib
  4. {
  5. public int Index { get; private set; }
  6. public bool IsConst { get; private set; }
  7. public int Offset { get; private set; }
  8. public GalVertexAttribSize Size { get; private set; }
  9. public GalVertexAttribType Type { get; private set; }
  10. public bool IsBgra { get; private set; }
  11. public GalVertexAttrib(
  12. int Index,
  13. bool IsConst,
  14. int Offset,
  15. GalVertexAttribSize Size,
  16. GalVertexAttribType Type,
  17. bool IsBgra)
  18. {
  19. this.Index = Index;
  20. this.IsConst = IsConst;
  21. this.Offset = Offset;
  22. this.Size = Size;
  23. this.Type = Type;
  24. this.IsBgra = IsBgra;
  25. }
  26. }
  27. }