Click or drag to resize
Ab4d.SharpEngine logo

Ab4d.SharpEngine.RenderingLayers Namespace

 
Classes
 ClassDescription
Public classCameraDistanceSortedRenderingLayer CameraDistanceSortedRenderingLayer is a rendering layer where the objects inside the queue are sorted by their distance from the camera. This is uses for transparent object that need to be rendered so that the objects that are farther away from the camera are rendered first. See remarks for more info.
Public classMaterialSortedRenderingLayer 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.
Public classRenderingLayer RenderingLayer is a rendering layer with a queue that is used to store RenderingItem that have similar properties and are rendered one after another. Objects inside the rendering layer can be reordered or sorted to improve performance or make sure that the rendered results are correct (for example for transparency sorting).
Public classSortedRenderingLayer SortedRenderingLayer is an abstract class derived from RenderingLayer and provides base functionality for sorting items in RenderingLayers. For performance reasons the original list of RenderingItems (renderingItems) is not sorted. Instead the order of sorted objects is defined in the sortedIndexes array. Derived methods must override the and SortingType.
Interfaces
 InterfaceDescription
Public interfaceISortedRenderingLayer ISortedRenderingLayer interface defines methods that are used by RenderingLayer that support sorting of its items.
Enumerations
 EnumerationDescription
Public enumerationSortedRenderingLayerRenderingLayerSortTypes RenderingLayerSortTypes defines types of sorting that can be used by a RenderingLayer