cancel

Cancels a prepared batch that has emitted no GUI work, without waiting for any capture fence.

Parameters

presentation

the current unqueued presentation.

Throws

when the batch is foreign, expired, or already queued.

when nonblocking cleanup fails after all pins have been removed.