ProfileViews::GetColorForBatch

ProfileViews::GetColorForBatch
static Color GetColorForBatch(UPInt base, unsigned index);
Description

GetColorForBatch computes a color for a batch, used with the Batch profile mode, to display batches in distinct colors.

Parameters
Parameters 
Description 
UPInt base 
The pointer to the primitive to compute. 
unsigned index 
The index of the mesh within the primitive to compute. 
Return Value

A color representing the color that the batch should be displayed in, during Batch profile mode.