MTLDrawable_Extensions.AddPresentedHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Causes the provided block
to be run after the drawable is displayed.
[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
Parameters
- This
- IMTLDrawable
The instance on which this extension method operates.
- block
- Action<IMTLDrawable>
The code that will be called after the drawable is displayed.
- Attributes