Share via


MPSNNReshape.EncodeBatch Method

Definition

Overloads

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

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

Attributes

Applies to