C# Class Terrarium.Renderer.DirectX.DirectX7GraphicsEngine

Provides access to the DirectDraw and DirectX interfaces
Inheritance: IGraphicsEngine
Mostrar archivo Open project: eugeniomiro/Terrarium

Private Properties

Property Type Description

Public Methods

Method Description
CreatePrimarySurface ( IntPtr handle, System.Boolean fullScreen, System.Boolean doubleBuffer ) : IGraphicsSurface

CreateSurface ( int width, int height ) : IGraphicsSurface

CreateWorkSurface ( int width, int height ) : IGraphicsSurface

GetWindowRect ( IntPtr handle, Rectangle &windowRect ) : void

SetFullScreenMode ( IntPtr handle ) : void

SetWindow ( IntPtr handle ) : void

Method Details

CreatePrimarySurface() public method

public CreatePrimarySurface ( IntPtr handle, System.Boolean fullScreen, System.Boolean doubleBuffer ) : IGraphicsSurface
handle System.IntPtr
fullScreen System.Boolean
doubleBuffer System.Boolean
return IGraphicsSurface

CreateSurface() public method

public CreateSurface ( int width, int height ) : IGraphicsSurface
width int
height int
return IGraphicsSurface

CreateWorkSurface() public method

public CreateWorkSurface ( int width, int height ) : IGraphicsSurface
width int
height int
return IGraphicsSurface

GetWindowRect() public method

public GetWindowRect ( IntPtr handle, Rectangle &windowRect ) : void
handle System.IntPtr
windowRect System.Drawing.Rectangle
return void

SetFullScreenMode() public method

public SetFullScreenMode ( IntPtr handle ) : void
handle System.IntPtr
return void

SetWindow() public method

public SetWindow ( IntPtr handle ) : void
handle System.IntPtr
return void