diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/TransformFeedbackDescriptor.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/TransformFeedbackDescriptor.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/TransformFeedbackDescriptor.cs b/Ryujinx.Graphics.GAL/TransformFeedbackDescriptor.cs new file mode 100644 index 00000000..690b9108 --- /dev/null +++ b/Ryujinx.Graphics.GAL/TransformFeedbackDescriptor.cs @@ -0,0 +1,19 @@ +using System; + +namespace Ryujinx.Graphics.GAL +{ + public struct TransformFeedbackDescriptor + { + public int BufferIndex { get; } + public int Stride { get; } + + public byte[] VaryingLocations { get; } + + public TransformFeedbackDescriptor(int bufferIndex, int stride, byte[] varyingLocations) + { + BufferIndex = bufferIndex; + Stride = stride; + VaryingLocations = varyingLocations ?? throw new ArgumentNullException(nameof(varyingLocations)); + } + } +} |