Defines the interface for a GameWindow. More...
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< FrameEventArgs > | UpdateFrame |
| Occurs when it is time to update a frame. | |
| EventHandler< FrameEventArgs > | RenderFrame |
| Occurs when it is time to render a frame. | |
Defines the interface for a GameWindow.
Definition at line 37 of file IGameWindow.cs.
| 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.
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.
| 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.
1.6.1