MPSUnaryImageKernel.SourceRegionForDestinationSize(MTLSize) Method

Definition

Calculates and returns the area of the source texture that will be read for the specified 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

Parameters

destinationSize
MTLSize

Returns

MPSRegion
Attributes

Applies to