colorArray(_:)
Returns an argument value defined by the provided array of color values. When passed to an MSL function it will convert to a device const half4 *ptr, int count pair of parameters.
Declaration
static func colorArray(_ array: [Color]) -> Shader.Argument