public MPSImageConversion(IMTLDevice device, MPSAlphaType srcAlpha, MPSAlphaType destAlpha, nfloat[] backgroundColor, CGColorConversionInfo conversionInfo) : base(NSObjectFlag.Empty) { unsafe { fixed(nfloat *ptr = backgroundColor) InitializeHandle(InitWithDevice(device, srcAlpha, destAlpha, (IntPtr)ptr, conversionInfo), "initWithDevice:srcAlpha:destAlpha:backgroundColor:conversionInfo:"); } }
public MPSImageConversion(IMTLDevice device, MPSAlphaType srcAlpha, MPSAlphaType destAlpha, nfloat[] backgroundColor, CGColorConversionInfo conversionInfo) : this(device, srcAlpha, destAlpha, MPSKernel.GetPtr(backgroundColor, false), conversionInfo) { }