Contents

waitForEvent(_:value:)

Schedules an operation to wait for a GPU event of a specific value before continuing to execute any future GPU work.

Declaration

func waitForEvent(_ event: any MTLEvent, value: UInt64)

Parameters

  • event:

    Mtlevent to wait on.

  • value:

    The specific value to wait for.