forked from MoonsideGames/RefreshCS
Add indirect draw command struct (#5)
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com> Reviewed-on: MoonsideGames/RefreshCS#5 Co-authored-by: TheSpydog <thespydog@noreply.example.org> Co-committed-by: TheSpydog <thespydog@noreply.example.org>no-fixed-command-buffers
parent
9068263afc
commit
e828f9b7fb
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue