C# Class Axiom.RenderSystems.DirectX9.D3DRenderWindow

The Direct3D implementation of the RenderWindow class.
Inheritance: Axiom.Graphics.RenderWindow
Mostrar archivo Open project: mono-soc-2011/axiom Class Usage Examples

Protected Properties

Property Type Description
vSync bool

Private Properties

Property Type Description
AdjustWindow void
AdjustWindowRect void
Create void
GetForm System.Windows.Forms.Form
GetWindowStyle WindowStyles
testLostDevice bool
this object

Public Methods

Method Description
BuildPresentParameters ( PresentParameters presentParams ) : void
CopyContentsToMemory ( PixelBox dst, FrameBuffer buffer ) : void
D3DRenderWindow ( Axiom.RenderSystems.DirectX9.Driver driver ) : System

D3DRenderWindow ( Axiom.RenderSystems.DirectX9.Driver driver, SlimDX.Direct3D9 deviceIfSwapChain ) : System

DisposeD3DResources ( ) : void
Reposition ( int left, int right ) : void
Resize ( int width, int height ) : void

SwapBuffers ( bool waitForVSync ) : void

Update ( bool swapBuffers ) : void
ValidateDevice ( ) : void
WindowMovedOrResized ( ) : void

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Private Methods

Method Description
AdjustWindow ( int clientWidth, int clientHeight, int &winWidth, int &winHeight ) : void
AdjustWindowRect ( System &rc, WindowStyles getWindowStyle, bool b ) : void
Create ( string name, int width, int height, bool fullScreen, NamedParameterList miscParams ) : void
GetForm ( System.Windows.Forms windowHandle ) : Form
GetWindowStyle ( bool fullScreen ) : WindowStyles
testLostDevice ( ) : bool
this ( string attribute ) : object

Method Details

BuildPresentParameters() public method

public BuildPresentParameters ( PresentParameters presentParams ) : void
presentParams PresentParameters
return void

CopyContentsToMemory() public method

public CopyContentsToMemory ( PixelBox dst, FrameBuffer buffer ) : void
dst Axiom.Media.PixelBox
buffer FrameBuffer
return void

D3DRenderWindow() public method

public D3DRenderWindow ( Axiom.RenderSystems.DirectX9.Driver driver ) : System
driver Axiom.RenderSystems.DirectX9.Driver The root driver
return System

D3DRenderWindow() public method

public D3DRenderWindow ( Axiom.RenderSystems.DirectX9.Driver driver, SlimDX.Direct3D9 deviceIfSwapChain ) : System
driver Axiom.RenderSystems.DirectX9.Driver The root driver
deviceIfSwapChain SlimDX.Direct3D9 The existing D3D device to create an additional swap chain from, if this is not the first window.
return System

DisposeD3DResources() public method

public DisposeD3DResources ( ) : void
return void

Reposition() public method

public Reposition ( int left, int right ) : void
left int
right int
return void

Resize() public method

public Resize ( int width, int height ) : void
width int
height int
return void

SwapBuffers() public method

public SwapBuffers ( bool waitForVSync ) : void
waitForVSync bool
return void

Update() public method

public Update ( bool swapBuffers ) : void
swapBuffers bool
return void

ValidateDevice() public method

public ValidateDevice ( ) : void
return void

WindowMovedOrResized() public method

public WindowMovedOrResized ( ) : void
return void

dispose() protected method

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

vSync protected_oe property

protected bool vSync
return bool