Click or drag to resize
Ab4d.SharpEngine logo

MaterialSortedRenderingLayer Class

MaterialSortedRenderingLayer is rendering layer where the objects inside the queue are sorted so that objects with the same material are rendered one after another - this minimizes the state changes and increases the performance.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.RenderingLayersRenderingLayer
    Ab4d.SharpEngine.RenderingLayersSortedRenderingLayer
      Ab4d.SharpEngine.RenderingLayersMaterialSortedRenderingLayer

Namespace: Ab4d.SharpEngine.RenderingLayers
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class MaterialSortedRenderingLayer : SortedRenderingLayer

The MaterialSortedRenderingLayer type exposes the following members.

Constructors
 NameDescription
Public methodMaterialSortedRenderingLayer Constructor
Top
Properties
 NameDescription
Public propertySortingType Gets a RenderingLayerSortTypes that specifies when the RenderingLayer needs to be resorted.
(Overrides SortedRenderingLayerSortingType)
Top
Methods
 NameDescription
Protected methodSortSortedIndexes Sort items in this rendering layer by setting the sortedIndexes array.
(Overrides SortedRenderingLayerSortSortedIndexes(RenderingContext, ICamera, Boolean))
Top
See Also