C# 클래스 Examples.Tutorial.T03_Immediate_Mode_Cube

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

공개 메소드들

메소드 설명
T03_Immediate_Mode_Cube ( ) : 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.

비공개 메소드들

메소드 설명
DrawCube ( ) : void
Main ( ) : 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

T03_Immediate_Mode_Cube() 공개 메소드

public T03_Immediate_Mode_Cube ( ) : System
리턴 System