Contents

wait(for:value:)

Waits on these shared events before scheduling execution on the HW.

Declaration

func wait(for event: any MTLSharedEvent, value: UInt64)

Parameters

  • event:

    Shared event to wait on.

  • value:

    Value for shared event to wait on.

Discussion

This does not include encoding which can still continue.