Struct IndirectDrawArgsInstanced
The arguments of an instance indirect draw call.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct IndirectDrawArgsInstanced
Constructors
IndirectDrawArgsInstanced(uint, uint, uint, uint)
Initializes a new instance of the IndirectDrawArgsInstanced struct.
Declaration
public IndirectDrawArgsInstanced(uint vertexCountPerInstance, uint instanceCount, uint startVertexLocation, uint startInstanceLocation)
Parameters
Type | Name | Description |
---|---|---|
uint | vertexCountPerInstance | The vertex count per instance. |
uint | instanceCount | The instance count. |
uint | startVertexLocation | The start vertex location. |
uint | startInstanceLocation | The start instance location. |
Fields
InstanceCount
The count of instances.
Declaration
public uint InstanceCount
Field Value
Type | Description |
---|---|
uint |
StartInstanceLocation
The starting instance location.
Declaration
public uint StartInstanceLocation
Field Value
Type | Description |
---|---|
uint |
StartVertexLocation
The starting vertex location.
Declaration
public uint StartVertexLocation
Field Value
Type | Description |
---|---|
uint |
VertexCountPerInstance
The vertex count per instance.
Declaration
public uint VertexCountPerInstance
Field Value
Type | Description |
---|---|
uint |