Share via


MPSCommandBuffer.PresentDrawableAfter(IMTLDrawable, Double) Method

Definition

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

[Foundation.Export("presentDrawable:afterMinimumDuration:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PresentDrawableAfter(Metal.IMTLDrawable drawable, double duration);
[<Foundation.Export("presentDrawable:afterMinimumDuration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PresentDrawableAfter : Metal.IMTLDrawable * double -> unit
override this.PresentDrawableAfter : Metal.IMTLDrawable * double -> unit

Parameters

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.

Implements

Attributes

Applies to