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