RefreshScreen

From SwinGame

RefreshScreen draws the current drawing to the screen. This must be called to display anything to the screen. This will draw all drawing operations, as well as the text being entered by the user. There are two overloads for this method, the first refreshes the screen at unlimited FPS and the second refreshes the screen at FPS given to the method.

Warning: This must be called for the screen to update.

Where is it: SGSDK_CORE

Contents

Languages

Pascal

procedure RefreshScreen(); inline;
procedure RefreshScreen(TargetFPS : Integer);

C#

public void Core.RefreshScreen();
public void Core.RefreshScreen(int TargetFPS);

Visual Basic .NET

Public Sub Core.RefreshScreen()
Public Sub Core.RefreshScreen(ByVal TargetFPS As Integer)

Visual Basic 6

Public Sub Core.RefreshScreen()
Public Sub Core.RefreshScreen_WithFrame(ByVal TargetFPS As Long)

Example

Also See