Instance Method

makeFence()

Creates a new fence.

Required.

Declaration

func makeFence() -> MTLFence?

Return Value

A new fence object.

See Also

Creating Events and Fences

func makeEvent() -> MTLEvent?

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

Required.

func makeSharedEvent() -> MTLSharedEvent?

Creates a shareable event.

Required.

func makeSharedEvent(handle: MTLSharedEventHandle) -> MTLSharedEvent?

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

Required.