GalVertexAttrib.cs 994 B

123456789101112131415161718192021222324252627282930313233
  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 byte[] Data { 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. bool isConst,
  15. int offset,
  16. byte[] data,
  17. GalVertexAttribSize size,
  18. GalVertexAttribType type,
  19. bool isBgra)
  20. {
  21. Index = index;
  22. IsConst = isConst;
  23. Data = data;
  24. Offset = offset;
  25. Size = size;
  26. Type = type;
  27. IsBgra = isBgra;
  28. }
  29. }
  30. }