Share via


MPSCnnKernel.GetEncodingStorageSize(MPSImage, MPSState[], MPSImage) Method

Definition

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

Parameters

sourceImage
MPSImage
sourceStates
MPSState[]
destinationImage
MPSImage

Returns

UIntPtr

unativeint

Attributes

Applies to