Struct IndirectDrawArgsIndexedInstanced
Struct containing the info of an indirect indexed and instanced draw call.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct IndirectDrawArgsIndexedInstanced
Constructors
IndirectDrawArgsIndexedInstanced(uint, uint, uint, int, uint)
Initializes a new instance of the IndirectDrawArgsIndexedInstanced struct.
Declaration
public IndirectDrawArgsIndexedInstanced(uint indexCountPerInstance, uint instanceCount, uint startIndexLocation, int baseVertexLocation, uint startInstanceLocation)
Parameters
Type | Name | Description |
---|---|---|
uint | indexCountPerInstance | The index count per instance. |
uint | instanceCount | The instance count. |
uint | startIndexLocation | The start index location. |
int | baseVertexLocation | The base vertex location. |
uint | startInstanceLocation | The start instance location. |
Fields
BaseVertexLocation
The base vertex location.
Declaration
public int BaseVertexLocation
Field Value
Type | Description |
---|---|
int |
IndexCountPerInstance
The index count per instance.
Declaration
public uint IndexCountPerInstance
Field Value
Type | Description |
---|---|
uint |
InstanceCount
The instance count.
Declaration
public uint InstanceCount
Field Value
Type | Description |
---|---|
uint |
StartIndexLocation
The start index location.
Declaration
public uint StartIndexLocation
Field Value
Type | Description |
---|---|
uint |
StartInstanceLocation
The start instance location.
Declaration
public uint StartInstanceLocation
Field Value
Type | Description |
---|---|
uint |