MPSCnnMultiaryKernel.Encode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Encode(IMTLCommandBuffer, MPSImage[], MPSState, Boolean) | |
| Encode(IMTLCommandBuffer, MPSImage[]) | |
| Encode(IMTLCommandBuffer, MPSImage[], MPSImage) |
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