Click or drag to resize
Ab4d.SharpEngine logo

SortedRenderingLayerSort Method

Sort items in this rendering layer.

Namespace: Ab4d.SharpEngine.RenderingLayers
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool Sort(
	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

Implements

ISortedRenderingLayerSort(RenderingContext, ICamera, Boolean)
See Also