Compartir a través de


MTLComputeCommandEncoder_Extensions.Wait Método

Definición

Evita el trabajo adicional de GPU por el codificador hasta que se alcanza .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.IMTLComputeCommandEncoder This, Metal.IMTLFence fence);
static member Wait : Metal.IMTLComputeCommandEncoder * Metal.IMTLFence -> unit

Parámetros

This
IMTLComputeCommandEncoder

Instancia en la que opera este método.

fence
IMTLFence
Atributos

Se aplica a