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