An optimization hint optionally provided to a
primitive'sSetPartial method to enhance performance.
Member | Value | Description |
---|---|---|
eStkGraphicsIndicesOrderHintNotSorted | 0 | The indices
passed to SetPartial are not sorted. Therefore, the
primitive may sort them to improve performance of writing its
geometry to video memory. |
eStkGraphicsIndicesOrderHintSortedAscending | 1 | 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. |