Adjustment.DesaturatedNonAlloc
Extension Method in Adjustment
Declaration
public static void DesaturatedNonAlloc(this Color baseColor, Color[] output)
Description
Fills an existing array with desaturated colors of the base color to prevent heap allocations. The amount of colors generated is determined by the size of the array.
Parameters
baseColor | The base color to generate new colors from. |
output | The array to store the generated colors in. |