Add indirect draw command struct (#5)

Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Reviewed-on: #5
Co-authored-by: TheSpydog <thespydog@noreply.example.org>
Co-committed-by: TheSpydog <thespydog@noreply.example.org>
pull/6/head
TheSpydog 2023-01-04 18:44:44 +00:00 committed by cosmonaut
parent 9068263afc
commit e828f9b7fb
1 changed files with 9 additions and 0 deletions

View File

@ -367,6 +367,15 @@ namespace RefreshCS
public uint level; public uint level;
} }
[StructLayout(LayoutKind.Sequential)]
public struct IndirectDrawCommand
{
public uint vertexCount;
public uint instanceCount;
public uint firstVertex;
public uint firstInstance;
}
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
public struct SamplerStateCreateInfo public struct SamplerStateCreateInfo
{ {