Flip([sync])
Starting with Hollywood 5.0, there is an optional argument called sync
.
If this is set to False
, Flip()
will not wait for the vertical refresh
but will draw the back buffer immediately. This is useful if you would
like to refresh the double buffer more often than the refresh rate of
the monitor. If not specified, sync
defaults to True
which means that
Flip()
will synchronize its double buffer with the monitor refresh.
Please note that Hollywood might also fall back to single buffering on
some systems. Therefore, it is not safe to assume that calling Flip()
will really switch buffers. It could also just draw the single buffer and
then simply let you draw on it again.
See BeginDoubleBuffer for more information on double buffering and an example.
True
) (V5.0)