Prepares the key colors for blending in space: gamma-decoded to linear light for RGB, Oklab-converted from that for Oklab, and as hue, saturation, value for HSV. Returns one Vector3 per key (alpha is read from the keys later). The array is allocated with context.allocator and the caller frees it with array_free.
generate_color_samples calls this for you; use it directly with interpolate_one_sample to compute single samples.
make_colors :: (
sorted: [] *$T/Color_Keyframe,
space: type_of(Interpolation.color_space)
) -> [] Vector3
Parameters
- sorted: [] *$T/Color_Keyframe
- space: type_of(Interpolation.color_space)
Returns
- [] Vector3