TransformFeedbackDescriptor.cs 548 B

12345678910111213141516171819
  1. using System;
  2. namespace Ryujinx.Graphics.GAL
  3. {
  4. public struct TransformFeedbackDescriptor
  5. {
  6. public int BufferIndex { get; }
  7. public int Stride { get; }
  8. public byte[] VaryingLocations { get; }
  9. public TransformFeedbackDescriptor(int bufferIndex, int stride, byte[] varyingLocations)
  10. {
  11. BufferIndex = bufferIndex;
  12. Stride = stride;
  13. VaryingLocations = varyingLocations ?? throw new ArgumentNullException(nameof(varyingLocations));
  14. }
  15. }
  16. }