Table of Contents

Struct BatchBase<TDrawInfo>.ElementInfo

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

The structure containing all the information required to batch one element.

protected struct BatchBase<TDrawInfo>.ElementInfo
Inherited Members

Constructors

ElementInfo(int, int, in TDrawInfo, float)

public ElementInfo(int vertexCount, int indexCount, in TDrawInfo drawInfo, float depth = 0)

Parameters

vertexCount int
indexCount int
drawInfo TDrawInfo
depth float

Fields

Depth

The depth of the element. Used to sort the elements.

public float Depth

Field Value

float

DrawInfo

The user draw information.

public TDrawInfo DrawInfo

Field Value

TDrawInfo

IndexCount

The number of indices needed to draw the element.

public int IndexCount

Field Value

int

VertexCount

The number of vertex needed to draw the element.

public int VertexCount

Field Value

int