Bewerken

Delen via


MPSNNGraph.EncodeToCommandBuffer Method

Definition

Overloads

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage[], MPSState[], NSMutableArray<MPSImage>, NSMutableArray<MPSState>)
EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage[])

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage[], MPSState[], NSMutableArray<MPSImage>, NSMutableArray<MPSState>)

[Foundation.Export("encodeToCommandBuffer:sourceImages:sourceStates:intermediateImages:destinationStates:")]
public virtual MetalPerformanceShaders.MPSImage EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages, MetalPerformanceShaders.MPSState[] sourceStates, Foundation.NSMutableArray<MetalPerformanceShaders.MPSImage> intermediateImages, Foundation.NSMutableArray<MetalPerformanceShaders.MPSState> destinationStates);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MetalPerformanceShaders.MPSState[] * Foundation.NSMutableArray<MetalPerformanceShaders.MPSImage> * Foundation.NSMutableArray<MetalPerformanceShaders.MPSState> -> MetalPerformanceShaders.MPSImage
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] * MetalPerformanceShaders.MPSState[] * Foundation.NSMutableArray<MetalPerformanceShaders.MPSImage> * Foundation.NSMutableArray<MetalPerformanceShaders.MPSState> -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImages
MPSImage[]
sourceStates
MPSState[]

To be added.

This parameter can be null.

intermediateImages
NSMutableArray<MPSImage>

To be added.

This parameter can be null.

destinationStates
NSMutableArray<MPSState>

To be added.

This parameter can be null.

Returns

Attributes

Applies to

EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage[])

[Foundation.Export("encodeToCommandBuffer:sourceImages:")]
public virtual MetalPerformanceShaders.MPSImage EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage[] sourceImages);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] -> MetalPerformanceShaders.MPSImage
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage[] -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImages
MPSImage[]

Returns

Attributes

Applies to