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

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

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

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

Launches this example.

Provides a simple way for the example launcher to launch the examples.

T04_Vertex_Lighting ( ) : System

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

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

Place your rendering code here.

OnResize ( EventArgs e ) : void

Called when the user resizes the window.

You want the OpenGL viewport to match the window. This is the place to do it!

OnUpdateFrame ( FrameEventArgs e ) : void

Prepares the next frame for rendering.

Place your control logic here. This is the place to respond to user input, update object positions etc.

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

Main() публичный статический Метод

Launches this example.
Provides a simple way for the example launcher to launch the examples.
public static Main ( ) : void
Результат void

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

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

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

Place your rendering code here.
protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
Результат void

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

Called when the user resizes the window.
You want the OpenGL viewport to match the window. This is the place to do it!
protected OnResize ( EventArgs e ) : void
e System.EventArgs Contains the new width/height of the window.
Результат void

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

Prepares the next frame for rendering.
Place your control logic here. This is the place to respond to user input, update object positions etc.
protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
Результат void

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

public T04_Vertex_Lighting ( ) : System
Результат System