Share via


MPSNNReshape.Encode Method

Definition

Overloads

Encode(IMTLCommandBuffer, MPSImage, UIntPtr, UIntPtr, UIntPtr)

[Foundation.Export("encodeToCommandBuffer:sourceImage:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSImage Encode(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceImage, UIntPtr reshapedWidth, UIntPtr reshapedHeight, UIntPtr reshapedFeatureChannels);
[<Foundation.Export("encodeToCommandBuffer:sourceImage:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImage
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
reshapedWidth
UIntPtr

unativeint

reshapedHeight
UIntPtr

unativeint

reshapedFeatureChannels
UIntPtr

unativeint

Returns

Attributes

Applies to

Encode(IMTLCommandBuffer, MPSImage, MPSState, Boolean, UIntPtr, UIntPtr, UIntPtr)

[Foundation.Export("encodeToCommandBuffer:sourceImage:destinationState:destinationStateIsTemporary:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSImage Encode(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceImage, out MetalPerformanceShaders.MPSState? outState, bool isTemporary, UIntPtr reshapedWidth, UIntPtr reshapedHeight, UIntPtr reshapedFeatureChannels);
[<Foundation.Export("encodeToCommandBuffer:sourceImage:destinationState:destinationStateIsTemporary:reshapedWidth:reshapedHeight:reshapedFeatureChannels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MPSState * bool * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImage
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MPSState * bool * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
outState
MPSState
isTemporary
Boolean
reshapedWidth
UIntPtr

unativeint

reshapedHeight
UIntPtr

unativeint

reshapedFeatureChannels
UIntPtr

unativeint

Returns

Attributes

Applies to