ID2D1RenderTarget.CreateGradientStopCollection

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
  1. HRESULT CreateGradientStopCollection(D2D1_GRADIENT_STOP* gradientStops, uint gradientStopsCount, D2D1_GAMMA colorInterpolationGamma, D2D1_EXTEND_MODE extendMode, ID2D1GradientStopCollection* gradientStopCollection)
  2. HRESULT CreateGradientStopCollection(D2D1_GRADIENT_STOP* gradientStops, uint gradientStopsCount, ID2D1GradientStopCollection* gradientStopCollection)

Meta