C# 클래스 Afterglow.Graphics.XnaRenderWindow

Encapsulates the Xna-device so that it renders in the given window.
상속: IRenderWindow
파일 보기 프로젝트 열기: Christof/afterglow 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

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

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.

XnaRenderWindow ( Control control ) : System

Initializes a new instance of the XnaRenderWindow class.

XnaRenderWindow ( IntPtr windowHandle ) : System

Initializes a new instance of the XnaRenderWindow class.

메소드 상세

Dispose() 공개 메소드

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

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

XnaRenderWindow() 공개 메소드

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

XnaRenderWindow() 공개 메소드

Initializes a new instance of the XnaRenderWindow class.
public XnaRenderWindow ( IntPtr windowHandle ) : System
windowHandle System.IntPtr The window handle.
리턴 System