共用方式為


MTLBlitCommandEncoder_Extensions.Wait 方法

定義

防止編碼器執行額外的 GPU 工作, fence 直到到達 為止。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void Wait (this Metal.IMTLBlitCommandEncoder This, Metal.IMTLFence fence);
static member Wait : Metal.IMTLBlitCommandEncoder * Metal.IMTLFence -> unit

參數

This
IMTLBlitCommandEncoder

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

fence
IMTLFence
屬性

適用於