From e828f9b7fb92317e9bfbb7ec74fab57be9258758 Mon Sep 17 00:00:00 2001
From: TheSpydog <thespydog@noreply.example.org>
Date: Wed, 4 Jan 2023 18:44:44 +0000
Subject: [PATCH] Add indirect draw command struct (#5)

Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Reviewed-on: https://gitea.moonside.games/MoonsideGames/RefreshCS/pulls/5
Co-authored-by: TheSpydog <thespydog@noreply.example.org>
Co-committed-by: TheSpydog <thespydog@noreply.example.org>
---
 src/Refresh.cs | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/Refresh.cs b/src/Refresh.cs
index 5c355e3..d11e394 100644
--- a/src/Refresh.cs
+++ b/src/Refresh.cs
@@ -367,6 +367,15 @@ namespace RefreshCS
 			public uint level;
 		}
 
+		[StructLayout(LayoutKind.Sequential)]
+		public struct IndirectDrawCommand
+		{
+			public uint vertexCount;
+			public uint instanceCount;
+			public uint firstVertex;
+			public uint firstInstance;
+		}
+
 		[StructLayout(LayoutKind.Sequential)]
 		public struct SamplerStateCreateInfo
 		{