MPSNNReshape.EncodeBatch 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 |
|---|---|
| EncodeBatch(IMTLCommandBuffer, MPSImage[], UIntPtr, UIntPtr, UIntPtr) | |
| EncodeBatch(IMTLCommandBuffer, MPSImage[], MPSState[], Boolean, UIntPtr, UIntPtr, UIntPtr) |
EncodeBatch(IMTLCommandBuffer, MPSImage[], UIntPtr, UIntPtr, UIntPtr)
[Foundation.Export("encodeBatchToCommandBuffer:sourceImages:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSImage[] EncodeBatch(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages, UIntPtr reshapedWidth, UIntPtr reshapedHeight, UIntPtr reshapedFeatureChannels);
[<Foundation.Export("encodeBatchToCommandBuffer:sourceImages:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.EncodeBatch : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImage[]
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceImages
- MPSImage[]
- reshapedWidth
-
UIntPtr
unativeint
- reshapedHeight
-
UIntPtr
unativeint
- reshapedFeatureChannels
-
UIntPtr
unativeint
Returns
MPSImage[]
- Attributes
Applies to
EncodeBatch(IMTLCommandBuffer, MPSImage[], MPSState[], Boolean, UIntPtr, UIntPtr, UIntPtr)
[Foundation.Export("encodeBatchToCommandBuffer:sourceImages:destinationStates:destinationStateIsTemporary:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSImage[] EncodeBatch(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages, out MetalPerformanceShaders.MPSState[]? outStates, bool isTemporary, UIntPtr reshapedWidth, UIntPtr reshapedHeight, UIntPtr reshapedFeatureChannels);
[<Foundation.Export("encodeBatchToCommandBuffer:sourceImages:destinationStates:destinationStateIsTemporary:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.EncodeBatch : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MPSState[] * bool * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImage[]
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceImages
- MPSImage[]
- outStates
- MPSState[]
- isTemporary
- Boolean
- reshapedWidth
-
UIntPtr
unativeint
- reshapedHeight
-
UIntPtr
unativeint
- reshapedFeatureChannels
-
UIntPtr
unativeint
Returns
MPSImage[]
- Attributes