MPSNNGraph.EncodeBatch 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EncodeBatch(IMTLCommandBuffer, NSArray<MPSImage>[], NSArray<MPSState>[])
[Foundation.Export("encodeBatchToCommandBuffer:sourceImages:sourceStates:")]
public virtual Foundation.NSArray<MetalPerformanceShaders.MPSImage> EncodeBatch (Metal.IMTLCommandBuffer commandBuffer, Foundation.NSArray<MetalPerformanceShaders.MPSImage>[] sourceImages, Foundation.NSArray<MetalPerformanceShaders.MPSState>[] sourceStates);
abstract member EncodeBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage>[] * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] -> Foundation.NSArray<MetalPerformanceShaders.MPSImage>
override this.EncodeBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage>[] * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] -> Foundation.NSArray<MetalPerformanceShaders.MPSImage>
参数
- commandBuffer
- IMTLCommandBuffer
返回
- 属性
适用于
EncodeBatch(IMTLCommandBuffer, NSArray<MPSImage>[], NSArray<MPSState>[], NSMutableArray<NSArray<MPSImage>>, NSMutableArray<NSArray<MPSState>>)
[Foundation.Export("encodeBatchToCommandBuffer:sourceImages:sourceStates:intermediateImages:destinationStates:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSArray<MetalPerformanceShaders.MPSImage> EncodeBatch (Metal.IMTLCommandBuffer commandBuffer, Foundation.NSArray<MetalPerformanceShaders.MPSImage>[] sourceImages, Foundation.NSArray<MetalPerformanceShaders.MPSState>[] sourceStates, Foundation.NSMutableArray<Foundation.NSArray<MetalPerformanceShaders.MPSImage>> intermediateImages, Foundation.NSMutableArray<Foundation.NSArray<MetalPerformanceShaders.MPSState>> destinationStates);
abstract member EncodeBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage>[] * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] * Foundation.NSMutableArray<Foundation.NSArray<MetalPerformanceShaders.MPSImage>> * Foundation.NSMutableArray<Foundation.NSArray<MetalPerformanceShaders.MPSState>> -> Foundation.NSArray<MetalPerformanceShaders.MPSImage>
override this.EncodeBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage>[] * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] * Foundation.NSMutableArray<Foundation.NSArray<MetalPerformanceShaders.MPSImage>> * Foundation.NSMutableArray<Foundation.NSArray<MetalPerformanceShaders.MPSState>> -> Foundation.NSArray<MetalPerformanceShaders.MPSImage>
参数
- commandBuffer
- IMTLCommandBuffer
- intermediateImages
- NSMutableArray<NSArray<MPSImage>>
- destinationStates
- NSMutableArray<NSArray<MPSState>>
返回
- 属性