Overview Members Chapter Previous Next

CDXScreen::Flip

HRESULT Flip( BOOL VSync = TRUE , BOOL FlipWithStretch = TRUE , BOOL displayFPS = FALSE ) ;

Displays the contents of the back buffer on screen. If in a windowed mode, Flip will stretch the back buffer to fit into the window. Default parameter VSync = true = wait for vsync when VSync = false, then the flip is done without vsync! CAUTION: In DirectX 3 the fullscreen flip always is vsynced!.