Struct BatchBase<TDrawInfo>.ElementInfo
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
Fields
Depth
The depth of the element. Used to sort the elements.
public float Depth
Field Value
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
VertexCount
The number of vertex needed to draw the element.
public int VertexCount