C# Class Fusion.Drivers.Graphics.Display.BaseDisplay

Inheritance: GraphicsResource
Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
d3dDevice SharpDX.Direct3D11.Device

Protected Properties

Свойство Type Description
Game Game
changeFullscreen ChangeFullscreenDelegate
factory StateFactory
stereo Ubershader

Méthodes publiques

Méthode Description
BaseDisplay ( Game game, GraphicsDevice device, GraphicsParameters parameters ) : System

CreateDisplayResources ( ) : void

CreateForm ( GraphicsParameters parameters, SharpDX.DXGI.Output output ) : Form

CreateTouchForm ( GraphicsParameters parameters, SharpDX.DXGI.Output output ) : Form

Prepare ( ) : void

SwapBuffers ( int syncInterval ) : void

Update ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

MergeStereoBuffers ( RenderTarget2D left, RenderTarget2D right, RenderTarget2D leftResolved, RenderTarget2D rightResolved, RenderTarget2D destination, Flags flag ) : void

ShowAdapterInfo ( GraphicsParameters parameters ) : void

Private Methods

Méthode Description
ChangeFullscreen ( Form window, bool fullscr ) : void

LoadContent ( ) : void

form_FormClosing ( object sender, FormClosingEventArgs e ) : void
form_KeyDown ( object sender, KeyEventArgs e ) : void
form_KeyPress ( object sender, KeyPressEventArgs e ) : void
form_KeyUp ( object sender, KeyEventArgs e ) : void

Method Details

BaseDisplay() public méthode

public BaseDisplay ( Game game, GraphicsDevice device, GraphicsParameters parameters ) : System
game Game
device GraphicsDevice
parameters GraphicsParameters
Résultat System

CreateDisplayResources() public méthode

public CreateDisplayResources ( ) : void
Résultat void

CreateForm() public méthode

public CreateForm ( GraphicsParameters parameters, SharpDX.DXGI.Output output ) : Form
parameters GraphicsParameters
output SharpDX.DXGI.Output
Résultat System.Windows.Forms.Form

CreateTouchForm() public méthode

public CreateTouchForm ( GraphicsParameters parameters, SharpDX.DXGI.Output output ) : Form
parameters GraphicsParameters
output SharpDX.DXGI.Output
Résultat System.Windows.Forms.Form

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

MergeStereoBuffers() protected méthode

protected MergeStereoBuffers ( RenderTarget2D left, RenderTarget2D right, RenderTarget2D leftResolved, RenderTarget2D rightResolved, RenderTarget2D destination, Flags flag ) : void
left RenderTarget2D Left source buffer
right RenderTarget2D Right source buffer
leftResolved RenderTarget2D Buffer to resolve left MSAA buffer. (NULL if left buffer is not MSAA buffer)
rightResolved RenderTarget2D Buffer to resolve right MSAA buffer. (NULL if right buffer is not MSAA buffer)
destination RenderTarget2D Target buffer
flag System.Flags
Résultat void

Prepare() public abstract méthode

public abstract Prepare ( ) : void
Résultat void

ShowAdapterInfo() protected méthode

protected ShowAdapterInfo ( GraphicsParameters parameters ) : void
parameters GraphicsParameters
Résultat void

SwapBuffers() public abstract méthode

public abstract SwapBuffers ( int syncInterval ) : void
syncInterval int
Résultat void

Update() public abstract méthode

public abstract Update ( ) : void
Résultat void

Property Details

Game protected_oe property

protected Game Game
Résultat Game

changeFullscreen protected_oe property

protected ChangeFullscreenDelegate changeFullscreen
Résultat ChangeFullscreenDelegate

d3dDevice public_oe property

public Device,SharpDX.Direct3D11 d3dDevice
Résultat SharpDX.Direct3D11.Device

factory protected_oe property

protected StateFactory factory
Résultat StateFactory

stereo protected_oe property

protected Ubershader stereo
Résultat Ubershader