Initial Vsync timing is flipped after the command is issued. The renderer starts rendering after the screen is flipped.
The main processing time of Nindows is the time from when this function is completed to the next time this function is called.
<>When njWaitVSync is used. void main(void) { njUserInit(); while (1) { if (njUserMain() < 0) break; njWaitVSync(); } njUserExit(); } <>When njRenderStart,njFlipFrameBuffer is used. void main(void) { njUserInit(); while (1) { if (njUserMain() < 0) break; /* End of vertex cataloging Start of data expansion */ njRenderStart(); /* Screen flip Flip with Vsync timing */ njFlipFrameBuffer(); /* Acquisition of pad data */ pdExecPeripheralServer(); } njUserExit(); }