MPSNNGraph.EncodeToCommandBuffer 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
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[]
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