OpenTK.Platform.IGameWindow Interface Reference

Defines the interface for a GameWindow. More...

Inheritance diagram for OpenTK.Platform.IGameWindow:
OpenTK.INativeWindow OpenTK.GameWindow

List of all members.

Public Member Functions

void Run ()
 Enters the game loop of the GameWindow using the maximum update rate.
void Run (double updateRate)
 Enters the game loop of the GameWindow using the specified update rate.
void MakeCurrent ()
 Makes the GraphicsContext current on the calling thread.
void SwapBuffers ()
 Swaps the front and back buffers of the current GraphicsContext, presenting the rendered scene to the user.

Events

EventHandler< EventArgs > Load
 Occurs before the window is displayed for the first time.
EventHandler< EventArgs > Unload
 Occurs before the window is destroyed.
EventHandler< FrameEventArgsUpdateFrame
 Occurs when it is time to update a frame.
EventHandler< FrameEventArgsRenderFrame
 Occurs when it is time to render a frame.

Detailed Description

Defines the interface for a GameWindow.

Definition at line 37 of file IGameWindow.cs.


Member Function Documentation

void OpenTK.Platform.IGameWindow.MakeCurrent (  ) 

Makes the GraphicsContext current on the calling thread.

Implemented in OpenTK.GameWindow.

void OpenTK.Platform.IGameWindow.Run ( double  updateRate  ) 

Enters the game loop of the GameWindow using the specified update rate.

Implemented in OpenTK.GameWindow.

void OpenTK.Platform.IGameWindow.Run (  ) 

Enters the game loop of the GameWindow using the maximum update rate.

See also:
Run(double)

Implemented in OpenTK.GameWindow.

void OpenTK.Platform.IGameWindow.SwapBuffers (  ) 

Swaps the front and back buffers of the current GraphicsContext, presenting the rendered scene to the user.

Implemented in OpenTK.GameWindow.


Event Documentation

EventHandler<EventArgs> OpenTK.Platform.IGameWindow.Load

Occurs before the window is displayed for the first time.

Implemented in OpenTK.GameWindow.

Definition at line 63 of file IGameWindow.cs.

EventHandler<FrameEventArgs> OpenTK.Platform.IGameWindow.RenderFrame

Occurs when it is time to render a frame.

Implemented in OpenTK.GameWindow.

Definition at line 78 of file IGameWindow.cs.

EventHandler<EventArgs> OpenTK.Platform.IGameWindow.Unload

Occurs before the window is destroyed.

Implemented in OpenTK.GameWindow.

Definition at line 68 of file IGameWindow.cs.

EventHandler<FrameEventArgs> OpenTK.Platform.IGameWindow.UpdateFrame

Occurs when it is time to update a frame.

Implemented in OpenTK.GameWindow.

Definition at line 73 of file IGameWindow.cs.

 All Classes Functions Variables Enumerations Properties Events

Generated on Tue Mar 9 15:06:33 2010 for The Open Toolkit library by  doxygen 1.6.1