[Overview][Constants][Types][Classes][Index] |
Gets the OpenGL swap interval.
Source position: baseconsoled.inc line 82
function IPTCConsole.OpenGL_GetSwapInterval: Integer; |
Gets the OpenGL swap interval. The swap interval is the number of v-blanks that must occur before the front and back framebuffers are swapped. A swap interval of 1 means the GPU should synchronize the swap with the next v-blank. A value of 0 means that swaps must occur as soon as requested, without waiting for v-blank. Note that video drivers may choose to override this value to 1 or 0 and thus ignore the application settings, depending on the user settings in the video card driver control panel.
|
Sets the OpenGL swap interval. |