Share via


MPSCnnKernel.GetSourceRegion(MTLSize) Method

Definition

[Foundation.Export("sourceRegionForDestinationSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSRegion GetSourceRegion(Metal.MTLSize destinationSize);
[<Foundation.Export("sourceRegionForDestinationSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSourceRegion : Metal.MTLSize -> MetalPerformanceShaders.MPSRegion
override this.GetSourceRegion : Metal.MTLSize -> MetalPerformanceShaders.MPSRegion

Parameters

destinationSize
MTLSize

Returns

Attributes

Applies to