VNInstanceMaskObservation.GenerateMask(NSIndexSet, NSError) Method

Definition

[Foundation.Export("generateMaskForInstances:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreVideo.CVPixelBuffer? GenerateMask(Foundation.NSIndexSet instances, out Foundation.NSError? error);
[<Foundation.Export("generateMaskForInstances:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GenerateMask : Foundation.NSIndexSet * NSError -> CoreVideo.CVPixelBuffer
override this.GenerateMask : Foundation.NSIndexSet * NSError -> CoreVideo.CVPixelBuffer

Parameters

instances
NSIndexSet
error
NSError

Returns

Attributes

Applies to