flushAndWait

Blocks until all pending commands have been executed by the GPU.


fun flushAndWait(timeout: Long): Boolean

Blocks until all pending commands have been executed by the GPU, or timeout nanoseconds pass.

Return

false on timeout.