共用方式為


MTLCommandBuffer_Extensions.PresentDrawableAfter 方法

定義

在先前的可繪製專案顯示 duration 數秒後,顯示指定的 drawable

[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

參數

This
IMTLCommandBuffer

這個方法運作所在的 實例。

drawable
IMTLDrawable

在命令緩衝區排定執行之後立即存在的可繪製專案。

duration
Double

上一個可繪製的最小顯示時間。

屬性

適用於