MarkerBatchSortOrder Enumeration |
The order in which markers in a marker batch are sorted before rendering.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public enum MarkerBatchSortOrder
Public Enumeration MarkerBatchSortOrder
public enum class MarkerBatchSortOrder
type MarkerBatchSortOrder
Members
| Member name | Description |
---|
| BackToFront |
The markers are sorted in back to front order before rendering.
For overlapping translucent markers, this enables correct blending results.
This may not perform as well as ByTexture, since the CPU has to sort the markers when the camera moves or a marker changes position.
|
| FrontToBack |
The markers are sorted in front to back order before rendering.
For overlapping opaque markers, this can enable the GPU to quickly eliminate markers that are hidden behind other markers.
In many cases, this may not perform as well as ByTexture, since the CPU has to sort the markers when the camera moves or a marker changes position.
|
| ByTexture |
The markers are sorted by texture.
This minimizes costly texture changes during rendering and does not require resorting when the camera moves or a marker changes position.
|
See Also