MPSBinaryImageKernel.SecondarySourceRegionForDestinationSize(MTLSize) 方法

定义

计算并返回将为指定的 destinationSize读取的辅助源纹理区域。

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

参数

destinationSize
MTLSize

返回

属性

适用于