MPSNDArrayMultiaryKernel.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: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