MPSNDArrayUnaryKernel.EncodeToCommandBuffer 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
EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray)
[Foundation.Export("encodeToCommandBuffer:sourceArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray sourceArray);
[<Foundation.Export("encodeToCommandBuffer:sourceArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceArray
- MPSNDArray
Returns
- Attributes
Applies to
EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray, MPSNDArray)
[Foundation.Export("encodeToCommandBuffer:sourceArray:destinationArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray sourceArray, MetalPerformanceShaders.MPSNDArray destinationArray);
[<Foundation.Export("encodeToCommandBuffer:sourceArray:destinationArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceArray
- MPSNDArray
- destinationArray
- MPSNDArray
Returns
- Attributes
Applies to
EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray, MPSState, MPSNDArray)
[Foundation.Export("encodeToCommandBuffer:sourceArray:resultState:destinationArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray sourceArray, MetalPerformanceShaders.MPSState? gradientState, MetalPerformanceShaders.MPSNDArray destinationArray);
[<Foundation.Export("encodeToCommandBuffer:sourceArray:resultState:destinationArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSState * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceArray
- MPSNDArray
- gradientState
- MPSState
- destinationArray
- MPSNDArray
Returns
- Attributes
Applies to
EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray, MPSState, Boolean)
[Foundation.Export("encodeToCommandBuffer:sourceArray:resultState:outputStateIsTemporary:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray sourceArray, out MetalPerformanceShaders.MPSState? gradientState, bool outputStateIsTemporary);
[<Foundation.Export("encodeToCommandBuffer:sourceArray:resultState:outputStateIsTemporary:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray * MPSState * bool -> MetalPerformanceShaders.MPSNDArray
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceArray
- MPSNDArray
- gradientState
- MPSState
- outputStateIsTemporary
- Boolean
Returns
- Attributes