Share via


MPSCnnKernel.GetBatchEncodingStorageSize Method

Definition

[Foundation.Export("batchEncodingStorageSizeForSourceImage:sourceStates:destinationImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetBatchEncodingStorageSize(MetalPerformanceShaders.MPSImage[] sourceImage, Foundation.NSArray<MetalPerformanceShaders.MPSState>[]? sourceStates, MetalPerformanceShaders.MPSImage[]? destinationImage);
[<Foundation.Export("batchEncodingStorageSizeForSourceImage:sourceStates:destinationImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBatchEncodingStorageSize : MetalPerformanceShaders.MPSImage[] * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] * MetalPerformanceShaders.MPSImage[] -> unativeint
override this.GetBatchEncodingStorageSize : MetalPerformanceShaders.MPSImage[] * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] * MetalPerformanceShaders.MPSImage[] -> unativeint

Parameters

sourceImage
MPSImage[]
sourceStates
NSArray<MPSState>[]
destinationImage
MPSImage[]

Returns

UIntPtr

unativeint

Attributes

Applies to