aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/VertexBuffer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/VertexBuffer.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/VertexBuffer.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/VertexBuffer.cs b/Ryujinx.Graphics.OpenGL/VertexBuffer.cs
new file mode 100644
index 00000000..19a58053
--- /dev/null
+++ b/Ryujinx.Graphics.OpenGL/VertexBuffer.cs
@@ -0,0 +1,19 @@
+using Ryujinx.Graphics.GAL;
+
+namespace Ryujinx.Graphics.OpenGL
+{
+ struct VertexBuffer
+ {
+ public BufferRange Range { get; }
+
+ public int Divisor { get; }
+ public int Stride { get; }
+
+ public VertexBuffer(BufferRange range, int divisor, int stride)
+ {
+ Range = range;
+ Divisor = divisor;
+ Stride = stride;
+ }
+ }
+}