編輯

共用方式為


MPSUnaryImageKernel.Offset Property

Definition

Gets or sets the location of the destination clipping rectangle in the source texture.

public virtual MetalPerformanceShaders.MPSOffset Offset { [Foundation.Export("offset", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setOffset:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.Offset : MetalPerformanceShaders.MPSOffset with get, set

Property Value

Attributes

Applies to