Share via


MPSCnnMultiaryKernel.Encode Method

Definition

Overloads

Encode(IMTLCommandBuffer, MPSImage[], MPSState, Boolean)

[Foundation.Export("encodeToCommandBuffer:sourceImages:destinationState:destinationStateIsTemporary:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSImage Encode(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages, out MetalPerformanceShaders.MPSState? outState, bool isTemporary);
[<Foundation.Export("encodeToCommandBuffer:sourceImages:destinationState:destinationStateIsTemporary:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MPSState * bool -> MetalPerformanceShaders.MPSImage
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MPSState * bool -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImages
MPSImage[]
outState
MPSState
isTemporary
Boolean

Returns

Attributes

Applies to

Encode(IMTLCommandBuffer, MPSImage[])

[Foundation.Export("encodeToCommandBuffer:sourceImages:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSImage Encode(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages);
[<Foundation.Export("encodeToCommandBuffer:sourceImages:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] -> MetalPerformanceShaders.MPSImage
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImages
MPSImage[]

Returns

Attributes

Applies to

Encode(IMTLCommandBuffer, MPSImage[], MPSImage)

[Foundation.Export("encodeToCommandBuffer:sourceImages:destinationImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Encode(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages, MetalPerformanceShaders.MPSImage destinationImage);
[<Foundation.Export("encodeToCommandBuffer:sourceImages:destinationImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MetalPerformanceShaders.MPSImage -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MetalPerformanceShaders.MPSImage -> unit

Parameters

commandBuffer
IMTLCommandBuffer
sourceImages
MPSImage[]
destinationImage
MPSImage
Attributes

Applies to