int VSync (
int mode
)
Arguments
mode |
0: Blocks until vertical synchronization occurs
1: Returns the elapsed time in HSync units from the last call to VSync()
n: (n>1) Blocks for n VSync periods from the last call to VSync()
n: (n<0) Returns absolute time from program start in VSync
units. |
Return Value
mode>=0 The elapsed time since the last call to VSync() is
returned in HSync units.
mode<0 The absolute time since program start is returned
in VSync units.
Explanation
Vsync() waits for the start of the next vertical synchronization interval.
|
|