Share via


MTLDrawable_Extensions.AddPresentedHandler メソッド

定義

描画可能な が表示された後、指定 block された が実行されるようにします。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public static void AddPresentedHandler (this Metal.IMTLDrawable This, Action<Metal.IMTLDrawable> block);
static member AddPresentedHandler : Metal.IMTLDrawable * Action<Metal.IMTLDrawable> -> unit

パラメーター

This
IMTLDrawable

この拡張メソッドが動作するインスタンス。

block
Action<IMTLDrawable>

描画可能な が表示された後に呼び出されるコード。

属性

適用対象