Share via


MPSNDArrayMultiaryKernel.EncodeToCommandBuffer Method

Definition

Overloads

EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray[])

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceArrays
MPSNDArray[]

Returns

Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray[], MPSNDArray)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceArrays
MPSNDArray[]
destinationArray
MPSNDArray

Returns

Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray[], MPSState, MPSNDArray)

[Foundation.Export("encodeToCommandBuffer:sourceArrays:resultState:destinationArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray[] sourceArrays, MetalPerformanceShaders.MPSState? gradientState, MetalPerformanceShaders.MPSNDArray destinationArray);
[<Foundation.Export("encodeToCommandBuffer:sourceArrays:resultState:destinationArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray[] * MetalPerformanceShaders.MPSState * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray[] * MetalPerformanceShaders.MPSState * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray

Parameters

commandBuffer
IMTLCommandBuffer
sourceArrays
MPSNDArray[]
gradientState
MPSState
destinationArray
MPSNDArray

Returns

Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSNDArray[], MPSState, Boolean)

[Foundation.Export("encodeToCommandBuffer:sourceArrays:resultState:outputStateIsTemporary:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandBuffer(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray[] sourceArrays, out MetalPerformanceShaders.MPSState? gradientState, bool outputStateIsTemporary);
[<Foundation.Export("encodeToCommandBuffer:sourceArrays:resultState:outputStateIsTemporary:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray[] * MPSState * bool -> MetalPerformanceShaders.MPSNDArray
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray[] * MPSState * bool -> MetalPerformanceShaders.MPSNDArray

Parameters

commandBuffer
IMTLCommandBuffer
sourceArrays
MPSNDArray[]
gradientState
MPSState
outputStateIsTemporary
Boolean

Returns

Attributes

Applies to