C# 클래스 Afterglow.Graphics.OpenTKRenderWindow

Encapsulates the OpenTK-device so that it renders in the given window.
상속: IRenderWindow
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

OpenTKRenderWindow ( Control control ) : System

Initializes a new instance of the OpenTKRenderWindow class.

Render ( ) : void

Renders the current scene.

StartRendering ( ) : void

Starts the rendering of the scene by cleaning the render target.

TakeScreenshot ( string filename ) : void

Takes a screenshot.

비공개 메소드들

메소드 설명
OnResize ( object sender, EventArgs e ) : void

Handler for a resize event of the gl control

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

OpenTKRenderWindow() 공개 메소드

Initializes a new instance of the OpenTKRenderWindow class.
public OpenTKRenderWindow ( Control control ) : System
control System.Windows.Forms.Control The control.
리턴 System

Render() 공개 메소드

Renders the current scene.
public Render ( ) : void
리턴 void

StartRendering() 공개 메소드

Starts the rendering of the scene by cleaning the render target.
public StartRendering ( ) : void
리턴 void

TakeScreenshot() 공개 메소드

Takes a screenshot.
public TakeScreenshot ( string filename ) : void
filename string The filename.
리턴 void