MPSCnnKernel.GetTemporaryResultStateBatch 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("temporaryResultStateBatchForCommandBuffer:sourceImage:sourceStates:destinationImage:")]
[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.MPSState> GetTemporaryResultStateBatch (Metal.IMTLCommandBuffer commandBuffer, Foundation.NSArray<MetalPerformanceShaders.MPSImage> sourceImage, Foundation.NSArray<MetalPerformanceShaders.MPSState>[] sourceStates, Foundation.NSArray<MetalPerformanceShaders.MPSImage> destinationImage);
abstract member GetTemporaryResultStateBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage> * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] * Foundation.NSArray<MetalPerformanceShaders.MPSImage> -> Foundation.NSArray<MetalPerformanceShaders.MPSState>
override this.GetTemporaryResultStateBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage> * Foundation.NSArray<MetalPerformanceShaders.MPSState>[] * Foundation.NSArray<MetalPerformanceShaders.MPSImage> -> Foundation.NSArray<MetalPerformanceShaders.MPSState>
参数
- commandBuffer
- IMTLCommandBuffer
返回
- 属性