From db76f87bdeb76278be939eac80ae494652d7ebc2 Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Wed, 4 Jan 2023 12:11:19 -0500 Subject: [PATCH] add indirect draw command struct --- 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 {