GalVertexAttrib.cs 777 B

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