Struct DrawElementsIndirectCommand ​
Namespace: ValveResourceFormat.Renderer.Buffers
Assembly: Renderer.dll
Arguments for a glDrawElementsIndirect GPU draw call.
csharp
public readonly struct DrawElementsIndirectCommandProperties ​
BaseInstance ​
Base instance used to index per-instance data.
csharp
public uint BaseInstance { get; init; }Property Value ​
BaseVertex ​
Constant added to each index before fetching a vertex.
csharp
public int BaseVertex { get; init; }Property Value ​
Count ​
Number of indices to draw.
csharp
public uint Count { get; init; }Property Value ​
FirstIndex ​
Starting index offset into the index buffer.
csharp
public uint FirstIndex { get; init; }Property Value ​
InstanceCount ​
Number of instances to draw.
csharp
public uint InstanceCount { get; init; }
