Modifier

Partager via


MPSBinaryImageKernel.PrimarySourceRegionForDestinationSize(MTLSize) Method

Definition

Calculates and returns the area of the primary source texture that will be read for the specified destinationSize.

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

Parameters

destinationSize
MTLSize

Returns

Attributes

Applies to