Edit

Share via


MPSBinaryImageKernel.SecondarySourceRegionForDestinationSize(MTLSize) Method

Definition

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

Parameters

destinationSize
MTLSize

Returns

Attributes

Applies to