VertexAttribDescriptor.cs 501 B

1234567891011121314151617181920
  1. namespace Ryujinx.Graphics.GAL
  2. {
  3. public struct VertexAttribDescriptor
  4. {
  5. public int BufferIndex { get; }
  6. public int Offset { get; }
  7. public bool IsZero { get; }
  8. public Format Format { get; }
  9. public VertexAttribDescriptor(int bufferIndex, int offset, bool isZero, Format format)
  10. {
  11. BufferIndex = bufferIndex;
  12. Offset = offset;
  13. IsZero = isZero;
  14. Format = format;
  15. }
  16. }
  17. }