Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к