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: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
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