IMTLComputeCommandEncoder.Wait(IMTLFence) 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.
[Foundation.Export("waitForFence:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Wait(Metal.IMTLFence fence);
[<Foundation.Export("waitForFence:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Wait : Metal.IMTLFence -> unit
override this.Wait : Metal.IMTLFence -> unit
Parameters
- fence
- IMTLFence
The fence to wait for.
- Attributes