C# Class Axiom.RenderSystems.Xna.XnaRenderWindow

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
dispose ( bool disposeManagedResources ) : void

Private Methods

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

Method Details

CopyContentsToMemory() public méthode

public CopyContentsToMemory ( PixelBox dst, FrameBuffer buffer ) : void
dst Axiom.Media.PixelBox
buffer FrameBuffer
Résultat void

Create() public méthode

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
Résultat void

Reposition() public méthode

public Reposition ( int left, int right ) : void
left int
right int
Résultat void

Resize() public méthode

public Resize ( int width, int height ) : void
width int
height int
Résultat void

SwapBuffers() public méthode

public SwapBuffers ( bool waitForVSync ) : void
waitForVSync bool
Résultat void

Update() public méthode

public Update ( bool swapBuffers ) : void
swapBuffers bool
Résultat void

XnaRenderWindow() public méthode

public XnaRenderWindow ( Axiom.RenderSystems.Xna.Driver driver ) : System
driver Axiom.RenderSystems.Xna.Driver The root driver
Résultat System

XnaRenderWindow() public méthode

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
Résultat System

dispose() protected méthode

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat void

this() public méthode

public this ( string attribute ) : object
attribute string
Résultat object