C# Класс Examples.Tutorial.T09_VBO_Dynamic

Наследование: OpenTK.GameWindow
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
T09_VBO_Dynamic ( ) : System

Creates a 800x600 window with the specified title.

Защищенные методы

Метод Описание
OnLoad ( EventArgs e ) : void

Load resources here.

OnRenderFrame ( FrameEventArgs e ) : void

Called when it is time to render the next frame. Add your rendering code here.

OnResize ( EventArgs e ) : void

Called when your window is resized. Set your viewport here. It is also a good place to set up your projection matrix (which probably changes along when the aspect ratio of your window).

OnUnload ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Called when it is time to setup the next frame. Add you game logic here.

Приватные методы

Метод Описание
Main ( ) : void

Описание методов

OnLoad() защищенный Метод

Load resources here.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs Not used.
Результат void

OnRenderFrame() защищенный Метод

Called when it is time to render the next frame. Add your rendering code here.
protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs Contains timing information.
Результат void

OnResize() защищенный Метод

Called when your window is resized. Set your viewport here. It is also a good place to set up your projection matrix (which probably changes along when the aspect ratio of your window).
protected OnResize ( EventArgs e ) : void
e System.EventArgs Contains information on the new Width and Size of the GameWindow.
Результат void

OnUnload() защищенный Метод

protected OnUnload ( EventArgs e ) : void
e System.EventArgs
Результат void

OnUpdateFrame() защищенный Метод

Called when it is time to setup the next frame. Add you game logic here.
protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs Contains timing information for framerate independent logic.
Результат void

T09_VBO_Dynamic() публичный Метод

Creates a 800x600 window with the specified title.
public T09_VBO_Dynamic ( ) : System
Результат System