GalVertexAttrib.cs 1.0 KB

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