C# Class Axiom.RenderSystems.Xna.XnaRenderWindow

The Xna implementation of the RenderWindow class.
Inheritance: Axiom.Graphics.RenderWindow, Microsoft.Xna.Framework.Graphics.IGraphicsDeviceService
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
CopyContentsToMemory ( PixelBox dst, FrameBuffer buffer ) : void
Create ( string name, int width, int height, bool fullScreen, Axiom miscParams ) : void

Initializes a RenderWindow Instance

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

SwapBuffers ( bool waitForVSync ) : void

Update ( bool swapBuffers ) : void
XnaRenderWindow ( Axiom.RenderSystems.Xna.Driver driver ) : System

XnaRenderWindow ( Axiom.RenderSystems.Xna.Driver driver, Microsoft.Xna.Framework.Graphics deviceIfSwapChain ) : System

this ( string attribute ) : object

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Private Methods

Method Description
CreateXnaResources ( ) : void
OnResetDevice ( object sender, EventArgs e ) : void
_fireDeviceCreated ( ) : void
_fireDeviceDisposing ( ) : void
_fireDeviceReset ( ) : void
_fireDeviceResetting ( ) : void

Method Details

CopyContentsToMemory() public method

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

Create() public method

Initializes a RenderWindow Instance
public Create ( string name, int width, int height, bool fullScreen, Axiom miscParams ) : void
name string
width int
height int
fullScreen bool
miscParams Axiom
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

XnaRenderWindow() public method

public XnaRenderWindow ( Axiom.RenderSystems.Xna.Driver driver ) : System
driver Axiom.RenderSystems.Xna.Driver The root driver
return System

XnaRenderWindow() public method

public XnaRenderWindow ( Axiom.RenderSystems.Xna.Driver driver, Microsoft.Xna.Framework.Graphics deviceIfSwapChain ) : System
driver Axiom.RenderSystems.Xna.Driver The root driver
deviceIfSwapChain Microsoft.Xna.Framework.Graphics
return System

dispose() protected method

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

this() public method

public this ( string attribute ) : object
attribute string
return object