共用方式為


MPSUnaryImageKernel.SourceRegionForDestinationSize(MTLSize) 方法

定義

計算並傳回將讀取指定 destinationSize 之 來源紋理的區域。

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

參數

destinationSize
MTLSize

傳回

屬性

適用於