Share via


MPSCnnKernel.EncodeToCommandBuffer Method

Definition

Overloads

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage, MPSState, Boolean)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
outState
MPSState
isTemporary
Boolean

Returns

Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage, MPSState, MPSImage)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
destinationState
MPSState
destinationImage
MPSImage
Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage

Returns

Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage, MPSImage)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
destinationImage
MPSImage
Attributes

Applies to