Pack the stops into the shader's fixed-size vec4[MAX_STOPS] uniform (extra stops past the cap are dropped). Returns the flat array and the active stop count.
vec4[MAX_STOPS]
Pack the stops into the shader's fixed-size
vec4[MAX_STOPS]uniform(extra stops past the cap are dropped). Returns the flat array and the
active stop count.