Class SortingMesh
Sorting mesh algorithm.
Inherited Members
Namespace: Evergine.Framework.Graphics.Sorting
Assembly: Evergine.Framework.dll
Syntax
public abstract class SortingMesh
Methods
FillSortingKeys(DrawContext, FastList<RenderObjectInfo>, int, int, SortKey[])
Fill the sorting key array.
Declaration
public abstract void FillSortingKeys(DrawContext drawContext, FastList<RenderObjectInfo> renderMeshes, int count, int offset, SortKey[] sortKeys)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The draw context. |
FastList<RenderObjectInfo> | renderMeshes | The meshes to render. |
int | count | The number of meshes to render. |
int | offset | The offset in render mesh. |
SortKey[] | sortKeys | The array of sort keys to fill. |