Returns number of millisecond to wait until the next frame and populates buffer and frameNumber.
See Implementation
Returns number of millisecond to wait until the next frame and populates buffer and frameNumber.