wait(for:value:)
Executable waits on these shared events before scheduling execution on the HW, this does not include encoding which can still continue.
Declaration
func wait(for event: any MTLSharedEvent, value: UInt64)Parameters
- event:
Shared event graph waits on.
- value:
Value of shared event graph waits on.