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

Inheritance: GraphicsResource
Mostrar archivo Open project: demiurghg/FusionEngine Class Usage Examples

Public Properties

Property Type Description
d3dDevice SharpDX.Direct3D11.Device

Protected Properties

Property Type Description
Game Game
changeFullscreen ChangeFullscreenDelegate
factory StateFactory
stereo Ubershader

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

public BaseDisplay ( Game game, GraphicsDevice device, GraphicsParameters parameters ) : System
game Game
device GraphicsDevice
parameters GraphicsParameters
return System

CreateDisplayResources() public method

public CreateDisplayResources ( ) : void
return void

CreateForm() public method

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

CreateTouchForm() public method

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

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

MergeStereoBuffers() protected method

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
return void

Prepare() public abstract method

public abstract Prepare ( ) : void
return void

ShowAdapterInfo() protected method

protected ShowAdapterInfo ( GraphicsParameters parameters ) : void
parameters GraphicsParameters
return void

SwapBuffers() public abstract method

public abstract SwapBuffers ( int syncInterval ) : void
syncInterval int
return void

Update() public abstract method

public abstract Update ( ) : void
return void

Property Details

Game protected_oe property

protected Game Game
return Game

changeFullscreen protected_oe property

protected ChangeFullscreenDelegate changeFullscreen
return ChangeFullscreenDelegate

d3dDevice public_oe property

public Device,SharpDX.Direct3D11 d3dDevice
return SharpDX.Direct3D11.Device

factory protected_oe property

protected StateFactory factory
return StateFactory

stereo protected_oe property

protected Ubershader stereo
return Ubershader