C# Class Treefrog.Windows.GraphicsDeviceService

Inheritance: IGraphicsDeviceService
Show file Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
AddRef ( IntPtr windowHandle, int width, int height ) : GraphicsDeviceService
Release ( ) : void
ResetDevice ( int width, int height ) : void

Protected Methods

Method Description
CreateDevice ( IntPtr windowHandle, int width, int height ) : void
GraphicsDeviceService ( ) : System
Release ( bool disposing ) : void

Method Details

AddRef() public static method

public static AddRef ( IntPtr windowHandle, int width, int height ) : GraphicsDeviceService
windowHandle System.IntPtr
width int
height int
return GraphicsDeviceService

CreateDevice() protected method

protected CreateDevice ( IntPtr windowHandle, int width, int height ) : void
windowHandle System.IntPtr
width int
height int
return void

GraphicsDeviceService() protected method

protected GraphicsDeviceService ( ) : System
return System

Release() public method

public Release ( ) : void
return void

Release() protected method

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

ResetDevice() public method

public ResetDevice ( int width, int height ) : void
width int
height int
return void