C# Class NesHd.Core.Output.Video.Devices.SlimDX.VideoSlimDx

Inheritance: IGraphicDevice, IDisposable
Exibir arquivo Open project: afonsof/nes-hd Class Usage Examples

Public Properties

Property Type Description
D3D Direct3D

Public Methods

Method Description
AddScanline ( int line, int scanlineBuffer ) : void
ApplaySettings ( VideoModeSettings newSettings ) : void
Begin ( ) : void
ChangeSettings ( ) : void
Clear ( ) : void
Dispose ( ) : void
DrawAbsolutePixel ( int x, int y, int color ) : void
DrawPixel ( int x, int y, int color ) : void
DrawText ( string text, int frames ) : void
RenderFrame ( ) : void
TakeSnapshot ( string snapPath, string format ) : void
UpdateSize ( int x, int y, int w, int h ) : void
VideoSlimDx ( TvFormat tvFormat, Control surface, byte multi ) : System

Private Methods

Method Description
CreateDisplayObjects ( Device device ) : void
DisposeDisplayObjects ( ) : void
FindSupportedMode ( ) : DisplayMode
InitializeDirect3D ( ) : void
ResetDirect3D ( ) : void
UpdateDisplayTexture ( ) : void

Method Details

AddScanline() public method

public AddScanline ( int line, int scanlineBuffer ) : void
line int
scanlineBuffer int
return void

ApplaySettings() public method

public ApplaySettings ( VideoModeSettings newSettings ) : void
newSettings VideoModeSettings
return void

Begin() public method

public Begin ( ) : void
return void

ChangeSettings() public method

public ChangeSettings ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DrawAbsolutePixel() public method

public DrawAbsolutePixel ( int x, int y, int color ) : void
x int
y int
color int
return void

DrawPixel() public method

public DrawPixel ( int x, int y, int color ) : void
x int
y int
color int
return void

DrawText() public method

public DrawText ( string text, int frames ) : void
text string
frames int
return void

RenderFrame() public method

public RenderFrame ( ) : void
return void

TakeSnapshot() public method

public TakeSnapshot ( string snapPath, string format ) : void
snapPath string
format string
return void

UpdateSize() public method

public UpdateSize ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

VideoSlimDx() public method

public VideoSlimDx ( TvFormat tvFormat, Control surface, byte multi ) : System
tvFormat TvFormat
surface System.Windows.Forms.Control
multi byte
return System

Property Details

D3D public_oe property

public Direct3D D3D
return Direct3D