Share via


IMTLCommandBuffer.PresentDrawableAfter(IMTLDrawable, Double) Method

Definition

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

[Foundation.Export("presentDrawable:afterMinimumDuration:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PresentDrawableAfter(Metal.IMTLDrawable drawable, double duration);
[<Foundation.Export("presentDrawable:afterMinimumDuration:")>]
[<Foundation.RequiredMember>]
[<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.

Attributes

Applies to