編輯

共用方式為


MPSCnnKernel.GetTemporaryResultState Method

Definition

[Foundation.Export("temporaryResultStateForCommandBuffer: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 MetalPerformanceShaders.MPSState GetTemporaryResultState (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceImage, Foundation.NSArray<MetalPerformanceShaders.MPSState> sourceStates, MetalPerformanceShaders.MPSImage destinationImage);
abstract member GetTemporaryResultState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * Foundation.NSArray<MetalPerformanceShaders.MPSState> * MetalPerformanceShaders.MPSImage -> MetalPerformanceShaders.MPSState
override this.GetTemporaryResultState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * Foundation.NSArray<MetalPerformanceShaders.MPSState> * MetalPerformanceShaders.MPSImage -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
sourceStates
NSArray<MPSState>
destinationImage
MPSImage

Returns

Attributes

Applies to