MPSNDArrayBinaryPrimaryGradientKernel.Encode 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
| Name | Description |
|---|---|
| Encode(IMTLCommandBuffer, MPSNDArray, MPSNDArray, MPSNDArray, MPSState) | |
| Encode(IMTLCommandBuffer, MPSNDArray, MPSNDArray, MPSNDArray, MPSState, MPSNDArray) |
Encode(IMTLCommandBuffer, MPSNDArray, MPSNDArray, MPSNDArray, MPSState)
[Foundation.Export("encodeToCommandBuffer:primarySourceArray:secondarySourceArray:sourceGradient:gradientState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray Encode(Metal.IMTLCommandBuffer cmdBuf, MetalPerformanceShaders.MPSNDArray primarySourceArray, MetalPerformanceShaders.MPSNDArray secondarySourceArray, MetalPerformanceShaders.MPSNDArray gradient, MetalPerformanceShaders.MPSState state);
[<Foundation.Export("encodeToCommandBuffer:primarySourceArray:secondarySourceArray:sourceGradient:gradientState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSState -> MetalPerformanceShaders.MPSNDArray
Parameters
- cmdBuf
- IMTLCommandBuffer
- primarySourceArray
- MPSNDArray
- secondarySourceArray
- MPSNDArray
- gradient
- MPSNDArray
- state
- MPSState
Returns
- Attributes
Applies to
Encode(IMTLCommandBuffer, MPSNDArray, MPSNDArray, MPSNDArray, MPSState, MPSNDArray)
[Foundation.Export("encodeToCommandBuffer:primarySourceArray:secondarySourceArray:sourceGradient:gradientState:destinationArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Encode(Metal.IMTLCommandBuffer cmdBuf, MetalPerformanceShaders.MPSNDArray primarySourceArray, MetalPerformanceShaders.MPSNDArray secondarySourceArray, MetalPerformanceShaders.MPSNDArray gradient, MetalPerformanceShaders.MPSState state, MetalPerformanceShaders.MPSNDArray destination);
[<Foundation.Export("encodeToCommandBuffer:primarySourceArray:secondarySourceArray:sourceGradient:gradientState:destinationArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSNDArray * MetalPerformanceShaders.MPSState * MetalPerformanceShaders.MPSNDArray -> unit
Parameters
- cmdBuf
- IMTLCommandBuffer
- primarySourceArray
- MPSNDArray
- secondarySourceArray
- MPSNDArray
- gradient
- MPSNDArray
- state
- MPSState
- destination
- MPSNDArray
- Attributes