Tao.FreeGlut SDK Documentation

Glut.glutPostWindowRedisplay Method 

Marks the specified window as needing to be redisplayed.

[Visual Basic]
Public Shared Sub glutPostWindowRedisplay( _
   ByVal win As Integer _
)
[C#]
public static void glutPostWindowRedisplay(
   int win
);

Parameters

win
Identifier of GLUT window to mark for redisplay.

Remarks

glutPostWindowRedisplay marks the specified window as needing to be redisplayed. The next iteration through glutMainLoop, the window's display callback will be called to redisplay the window's normal plane.

If the window you want to post a redisplay on is not already current (and you do not require it to be immediately made current), using glutPostWindowRedisplay is more efficient than calling glutSetWindow to the desired window and then calling glutPostRedisplay.

See Also

Glut Class | Tao.FreeGlut Namespace | glutDisplayFunc | glutPostOverlayRedisplay | glutPostRedisplay