C# 클래스 Afterglow.Graphics.SlimDXRenderWindow

Encapsulates the SlimDX-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.

SlimDXRenderWindow ( IntPtr windowHandle ) : System

Initializes a new instance of the SlimDXRenderWindow class.

StartRendering ( ) : void

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

SwitchFullscreen ( ) : void

Switches betwenn fullscreen and windowed mode.

TakeScreenshot ( string filename ) : void

Takes a screenshot.

비공개 메소드들

메소드 설명
CreateDepthBuffer ( ) : void
CreateModeDescription ( ) : ModeDescription
CreateSwapChainDescription ( ) : SwapChainDescription
CreateSwapChainRenderTargetAndViewport ( ) : void
SetRasterizeStateDescription ( ) : void

메소드 상세

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

SlimDXRenderWindow() 공개 메소드

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

StartRendering() 공개 메소드

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

SwitchFullscreen() 공개 메소드

Switches betwenn fullscreen and windowed mode.
public SwitchFullscreen ( ) : void
리턴 void

TakeScreenshot() 공개 메소드

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