Edytuj

Udostępnij za pośrednictwem


MTLCommandBuffer_Extensions.PresentDrawableAfter Method

Definition

Presents the specified drawable after the previous drawable has been displayed for duration seconds.

[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 PresentDrawableAfter (this Metal.IMTLCommandBuffer This, Metal.IMTLDrawable drawable, double duration);
static member PresentDrawableAfter : Metal.IMTLCommandBuffer * Metal.IMTLDrawable * double -> unit

Parameters

This
IMTLCommandBuffer

The instance on which this method operates.

drawable
IMTLDrawable

The drawable to present immediately after the command buffer is scheduled to run.

duration
Double

The minimum display time of the previous drawable.

Attributes

Applies to