Instance Method

makeEvent()

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

Required.

Declaration

func makeEvent() -> MTLEvent?

See Also

Creating Events and Fences

func makeSharedEvent() -> MTLSharedEvent?

Creates a shareable event.

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.