|
MaterialSortedRenderingLayerSortSortedIndexes Method |
Sort items in this rendering layer by setting the sortedIndexes array.
Namespace: Ab4d.SharpEngine.RenderingLayersAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax 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
Booleantrue if sort was performed, false if no sorting was required
See Also