Platforms to show: All Mac Windows Linux Cross-Platform

Back to CISamplerMBS class.

CISamplerMBS.Constructor(ciImage as CIImageMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new sampler based on the given image.

On success handle will not be 0.

See also:

CISamplerMBS.Constructor(ciImage as CIImageMBS, matrix as NSAffineTransformMBS, WrapMode as String, FilterMode as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new sampler based on the given image.

matrix:An affine transformation [a b c d tx ty] defining the transformation to be applied to the sampler.
wrapmode:A string defining how pixels outside the sampler's extent are produced. Options include kCISamplerWrapBlack (pixels are transparent black, the default) and kCISamplerWrapClamp (coordinates are clamped to the extent).
FilterMode:A string defining the filter to use when sampling the image. One of kCISamplerFilterNearest (point sampling) or kCISamplerFilterLinear (bilinear interpolation, the default).

On success handle will not be 0.

See also:

CISamplerMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 12.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes object with given object reference.

ref should be a CISampler* and the object is retained.
Raises UnsupportedOperationException if object is not a CISampler.

See also:

CISamplerMBS.copy as CISamplerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the sampler.

The items on this page are in the following plugins: MBS MacCI Plugin.


The biggest plugin in space...