Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - Category -> Graphics -> Flip

Flip( sync=-1 )

Returns:

Nothing.

Description:

Flip current graphics object

Flip swap the front and back buffers of the current graphics objects.

If sync is 0, then the flip occurs as soon as possible. If sync is 1, then the flip occurson the next vertical blank.

If sync is -1 and the current graphics object was created with the Graphics command,then flips will occur at the graphics object's refresh rate regardless of whether or not thegraphics hardware supports such a refresh rate.

If sync is -1 and the current graphics object was NOT created with the Graphics command,then the flip will occur on the next vertical blank.


Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command