Contents

makeSharedEvent(handle:)

Recreates a shared event from a handle.

Declaration

func makeSharedEvent(handle sharedEventHandle: MTLSharedEventHandle) -> (any MTLSharedEvent)?

Parameters

Return Value

A new MTLSharedEvent instance if the method completed successfully; otherwise nil.

See Also

Creating fences and events