Instance Method

makeSharedEvent()

Creates a shareable event.

Required.

Declaration

func makeSharedEvent() -> MTLSharedEvent?

See Also

Creating Events and Fences

func makeEvent() -> MTLEvent?

Creates a new event whose use is limited to the device object.

Required.

func makeSharedEvent(handle: MTLSharedEventHandle) -> MTLSharedEvent?

Re-creates a shareable event from a shareable event handle.

Required.

func makeFence() -> MTLFence?

Creates a new fence.

Required.