[Overview][Constants][Types][Classes][Index] |
Sets the OpenGL swap interval.
Source position: baseconsoled.inc line 81
procedure IPTCConsole.OpenGL_SetSwapInterval( |
AInterval: Integer |
); |
Sets 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.
|
Gets the OpenGL swap interval. |