共用方式為


MTKView.DrawLayer(CALayer, CGContext) 方法

定義

使用指定的內容繪製指定的圖層。

[Foundation.Export("drawLayer:inContext:")]
public virtual void DrawLayer (CoreAnimation.CALayer layer, CoreGraphics.CGContext context);
abstract member DrawLayer : CoreAnimation.CALayer * CoreGraphics.CGContext -> unit
override this.DrawLayer : CoreAnimation.CALayer * CoreGraphics.CGContext -> unit

參數

layer
CALayer
context
CGContext
屬性

適用於