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

上一个可绘制对象的最短显示时间。

属性

适用于