共用方式為


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

傳回

屬性

適用於