public MPSImageDilate(IMTLDevice device, nuint kernelWidth, nuint kernelHeight, float[] values) : this(device, kernelWidth, kernelHeight, MPSKernel.GetPtr(values, true)) { }
public MPSImageThresholdBinary(IMTLDevice device, float thresholdValue, float maximumValue, /*[NullAllowed]*/ float[] transform) : this(device, thresholdValue, maximumValue, MPSKernel.GetPtr(transform, false)) { }
public MPSImageGaussianPyramid(IMTLDevice device, nuint kernelWidth, nuint kernelHeight, float[] kernelWeights) : this(device, kernelWidth, kernelHeight, MPSKernel.GetPtr(kernelWeights, true)) { }
public MPSImageConversion(IMTLDevice device, MPSAlphaType srcAlpha, MPSAlphaType destAlpha, nfloat[] backgroundColor, CGColorConversionInfo conversionInfo) : this(device, srcAlpha, destAlpha, MPSKernel.GetPtr(backgroundColor, false), conversionInfo) { }
public MPSCnnFullyConnected(IMTLDevice device, MPSCnnConvolutionDescriptor convolutionDescriptor, float[] kernelWeights, float[] biasTerms, MPSCnnConvolutionFlags flags) : this(device, convolutionDescriptor, MPSKernel.GetPtr(kernelWeights, true), MPSKernel.GetPtr(biasTerms, false), flags) { }
public MPSImageSobel(IMTLDevice device, float[] transform) : this(device, MPSKernel.GetPtr(transform, true)) { }
public MPSImageThresholdToZeroInverse(IMTLDevice device, float thresholdValue, /*[NullAllowed]*/ float[] transform) : this(device, thresholdValue, MPSKernel.GetPtr(transform, false)) { }