MPSNDArrayMultiaryKernel.EncodeToCommandEncoder 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.
[Foundation.Export("encodeToCommandEncoder:commandBuffer:sourceArrays:destinationArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray EncodeToCommandEncoder(Metal.IMTLComputeCommandEncoder? encoder, Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSNDArray[] sourceArrays, MetalPerformanceShaders.MPSNDArray destinationArray);
[<Foundation.Export("encodeToCommandEncoder:commandBuffer:sourceArrays:destinationArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeToCommandEncoder : Metal.IMTLComputeCommandEncoder * Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray[] * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray
override this.EncodeToCommandEncoder : Metal.IMTLComputeCommandEncoder * Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray[] * MetalPerformanceShaders.MPSNDArray -> MetalPerformanceShaders.MPSNDArray
Parameters
- encoder
- IMTLComputeCommandEncoder
- commandBuffer
- IMTLCommandBuffer
- sourceArrays
- MPSNDArray[]
- destinationArray
- MPSNDArray
Returns
- Attributes