共用方式為


MTLDevice_Extensions.CreateSharedEvent 方法

定義

多載

CreateSharedEvent(IMTLDevice)
CreateSharedEvent(IMTLDevice, MTLSharedEventHandle)

CreateSharedEvent(IMTLDevice)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLSharedEvent CreateSharedEvent (this Metal.IMTLDevice This);
static member CreateSharedEvent : Metal.IMTLDevice -> Metal.IMTLSharedEvent

參數

This
IMTLDevice

傳回

屬性

適用於

CreateSharedEvent(IMTLDevice, MTLSharedEventHandle)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLSharedEvent CreateSharedEvent (this Metal.IMTLDevice This, Metal.MTLSharedEventHandle sharedEventHandle);
static member CreateSharedEvent : Metal.IMTLDevice * Metal.MTLSharedEventHandle -> Metal.IMTLSharedEvent

參數

This
IMTLDevice
sharedEventHandle
MTLSharedEventHandle

傳回

屬性

適用於