Compartilhar via


MTLDrawable.AddPresentedHandler(Action<IMTLDrawable>) Método

Definição

Faz com que o fornecido block seja executado depois que o desenhável é exibido.

[Foundation.Export("addPresentedHandler:")]
[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 virtual void AddPresentedHandler (Action<Metal.IMTLDrawable> block);
abstract member AddPresentedHandler : Action<Metal.IMTLDrawable> -> unit
override this.AddPresentedHandler : Action<Metal.IMTLDrawable> -> unit

Parâmetros

block
Action<IMTLDrawable>

O código que será chamado depois que o desenhável for exibido.

Atributos

Aplica-se a