GetColorForBatch computes a color for a batch, used with the Batch profile mode, to display batches in distinct colors.
Parameters |
Description |
UPInt base |
The pointer to the primitive to compute. |
unsigned index |
The index of the mesh within the primitive to compute. |
A color representing the color that the batch should be displayed in, during Batch profile mode.