DrawSync

Waits for completion of all drawing

int DrawSync (
        int mode
)

Argument

mode 0: Waits for completion of all non-blocking functions registered in the GPU's command/execution queue. 
1: The current slot number of the GPU's command/execution queue is returned.

Return Value

The current slot number of the GPU's command execution queue is returned.