diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/InputAssembler/VertexAttribDescriptor.cs')
| -rw-r--r-- | Ryujinx.Graphics.GAL/InputAssembler/VertexAttribDescriptor.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/InputAssembler/VertexAttribDescriptor.cs b/Ryujinx.Graphics.GAL/InputAssembler/VertexAttribDescriptor.cs new file mode 100644 index 00000000..cba3a9a4 --- /dev/null +++ b/Ryujinx.Graphics.GAL/InputAssembler/VertexAttribDescriptor.cs @@ -0,0 +1,17 @@ +namespace Ryujinx.Graphics.GAL.InputAssembler +{ + public struct VertexAttribDescriptor + { + public int BufferIndex { get; } + public int Offset { get; } + + public Format Format { get; } + + public VertexAttribDescriptor(int bufferIndex, int offset, Format format) + { + BufferIndex = bufferIndex; + Offset = offset; + Format = format; + } + } +} |
