C# 클래스 Examples.Tutorial.T09_VBO_Dynamic

상속: OpenTK.GameWindow
파일 보기 프로젝트 열기: tpb3d/TPB3D 1 사용 예제들

공개 메소드들

메소드 설명
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