MTLComputeCommandEncoder_Extensions.Wait Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prevents additional GPU work by the encoder until the fence
is reached.
[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
Parameters
The instance on which this method operates.
- fence
- IMTLFence
- Attributes