Class SortingMesh
Sorting mesh algorithm.
Namespace: Evergine.Framework.Graphics.Sorting
Assembly: Evergine.Framework.dll
Syntax
public abstract class SortingMesh
Methods
FillSortingKeys(DrawContext, FastList<RenderObjectInfo>, int, int, SortKey[])
Fills 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 meshes. |
SortKey[] | sortKeys | The array of sort keys to fill. |