Refresh If the selected surface is a Bitmap, this call will block until the graphics card has finished rendering to the Bitmap. If the screen backbuffer is selected instead, this call may or may not block depending on the settings and OpenGL implementation. Before OpenLayer 2.0 (when Canvas didn't exist) the way to refresh the screen was to call GfxRend::RefreshScreen(). However, RefreshScreen doesn't support different rendering surfaces. GfxRend::RefreshScreen can still be used for backwards compability but it's highly deprecated as it may mess up your code if you use Canvas as well. So if you use Canvas, it's best to use only Canvas, not RefreshScreen. Examples Other functions of the class Canvas
Questions about Refresh? Click here. |