IndicesOrderHint Enumeration |
An optimization hint optionally provided to a
primitive'sSetPartial method to enhance performance.
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 IndicesOrderHint
Public Enumeration IndicesOrderHint
public enum class IndicesOrderHint
Members
| Member name | Description |
---|
| NotSorted |
The indices passed to SetPartial are not sorted. Therefore, the primitive
may sort them to improve performance of writing its geometry to video memory.
|
| SortedAscending |
The indices passed to SetPartial are sorted in ascending order. Therefore,
the primitive does not need to sort them. It is recommended to only use SortedAscending
if it is easy and efficient for you to provide the indices in ascending order.
For example, do not use a standard sorting algorithm to sort your indices so you can use SortedAscending.
Instead, use NotSorted and let the primitive decide what is most efficient.
|
See Also