Upravit

Sdílet prostřednictvím


MTLDevice_Extensions.CreateFence(IMTLDevice) Method

Definition

Creates and returns a new fence for tracking and managing dependencies between command encoders.

[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 Metal.IMTLFence CreateFence (this Metal.IMTLDevice This);
static member CreateFence : Metal.IMTLDevice -> Metal.IMTLFence

Parameters

This
IMTLDevice

The instance on which this method operates.

Returns

Attributes

Applies to