Compartilhar via


MTLComputeCommandEncoder_Extensions.Wait Método

Definição

Impede o trabalho de GPU adicional pelo codificador até que o fence seja atingido.

[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.IMTLComputeCommandEncoder This, Metal.IMTLFence fence);
static member Wait : Metal.IMTLComputeCommandEncoder * Metal.IMTLFence -> unit

Parâmetros

This
IMTLComputeCommandEncoder

A instância na qual esse método opera.

fence
IMTLFence
Atributos

Aplica-se a