MixingModelExtensions.ColorWheelNonAlloc
Extension Method in MixingModelExtensions
Declaration
public static void ColorWheelNonAlloc(this MixingModel model, Color[] output)
Description
Fills an existing array with the primary, secondary, and tertiary colors of the mixing model to prevent heap allocations. The output array requires a size of at least 12.
Parameters
model | The mixing model to get the colors of. |
output | The array to populate with the colors. |