methodIndex

Gets the zero-based index of a method enum value, useful for histograms.

size_t
methodIndex

Parameters

method Method

The method to get the index for.

Return Value

Type: size_t

The index of the method.