MPSCnnKernel.GetSourceRegion(MTLSize) 方法

定义

[Foundation.Export("sourceRegionForDestinationSize:")]
public virtual MetalPerformanceShaders.MPSRegion GetSourceRegion (Metal.MTLSize destinationSize);
abstract member GetSourceRegion : Metal.MTLSize -> MetalPerformanceShaders.MPSRegion
override this.GetSourceRegion : Metal.MTLSize -> MetalPerformanceShaders.MPSRegion

参数

destinationSize
MTLSize

返回

属性

适用于