Click or drag to resize
Ab4d.SharpEngine logo

MaterialSortedRenderingLayerSortSortedIndexes Method

Sort items in this rendering layer by setting the sortedIndexes array.

Namespace: Ab4d.SharpEngine.RenderingLayers
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
protected override bool SortSortedIndexes(
	RenderingContext renderingContext,
	ICamera? usedCamera,
	bool forceSorting
)

Parameters

renderingContext  RenderingContext
RenderingContext
usedCamera  ICamera
ICamera
forceSorting  Boolean
when true, then sorting is performed in all cases; if false sorting is performed only when needed based on the Scene changes flag.

Return Value

Boolean
true if sort was performed, false if no sorting was required
See Also