Click or drag to resize
Ab4d.SharpEngine logo

ISortedRenderingLayerSort Method

Sort items in rendering layer

Namespace: Ab4d.SharpEngine.RenderingLayers
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
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 necessary based on the Scene changes flag.

Return Value

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