Share via


MPSNDArrayUnaryKernel.EncodeToCommandBuffer Method

Definition

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

Applies to