PrimitivesSortOrder Enumeration |
The order in which primitives are sorted before rendering.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public enum PrimitivesSortOrder
Public Enumeration PrimitivesSortOrder
public enum class PrimitivesSortOrder
Members
| Member name | Description |
---|
| ByState |
Primitives are sorted by their internal state before rendering. This provides good performance but can lead to blending artifacts with translucent primitives along the same line of sight.
|
| BackToFront |
Primitives are sorted in back to front order before rendering. For translucent primitives, this enables correct blending results. This may not perform as well as PrimitivesSortOrderByState since the CPU has to sort the primitives before rendering.
|
See Also