Struct DrawIndexedIndirectCommand¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
The arguments of one indexed indirect draw, as
public readonly record struct DrawIndexedIndirectCommand : IEquatable<DrawIndexedIndirectCommand>
Implements¶
IEquatable<DrawIndexedIndirectCommand>
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
DrawIndexedIndirectCommand(uint, uint, uint, int, uint)¶
The arguments of one indexed indirect draw, as
public DrawIndexedIndirectCommand(uint IndexCount, uint InstanceCount, uint FirstIndex, int VertexOffset, uint FirstInstance)
Parameters¶
IndexCount uint
InstanceCount uint
FirstIndex uint
VertexOffset int
FirstInstance uint
Fields¶
Size¶
The size of one command in a buffer, and the default stride between commands.
public const uint Size = 20
Field Value¶
Properties¶
FirstIndex¶
public uint FirstIndex { get; init; }
Property Value¶
FirstInstance¶
public uint FirstInstance { get; init; }
Property Value¶
IndexCount¶
public uint IndexCount { get; init; }
Property Value¶
InstanceCount¶
public uint InstanceCount { get; init; }
Property Value¶
VertexOffset¶
public int VertexOffset { get; init; }