Edit

Share via


MTLRenderCommandEncoder_Extensions.Wait Method

Definition

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.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void Wait (this Metal.IMTLRenderCommandEncoder This, Metal.IMTLFence fence, Metal.MTLRenderStages stages);
static member Wait : Metal.IMTLRenderCommandEncoder * Metal.IMTLFence * Metal.MTLRenderStages -> unit

Parameters

This
IMTLRenderCommandEncoder

The instance on which this method operates.

fence
IMTLFence
Attributes

Applies to