#include <OgreDDDriver.h>
Public Methods | |
| DDDriver () | |
| DDDriver (const DDDriver &ob) | |
| DDDriver (GUID FAR *lpGuid, LPSTR lpDriverDescription, LPSTR lpDriverName) | |
| ~DDDriver () | |
| void | createWindowSurfaces (HWND hWnd, int width, int height, int colourDepth, bool fullScreen, LPDIRECTDRAWSURFACE7 *front, LPDIRECTDRAWSURFACE7 *back) |
| Creates DirectDraw surfaces appropriate for a render window. More... | |
| void | Cleanup (void) |
| void | CheckWindow (void) |
| DDDriver | operator= (const DDDriver &orig) |
| String | DriverName (void) |
| String | DriverDescription (void) |
| LPDIRECTDRAW7 | directDraw () |
| D3DDeviceList * | get3DDeviceList (void) |
| DDVideoModeList * | getVideoModeList (void) |
| DDVideoMode * | getActiveVideoMode (void) |
| D3DDevice * | get3DDevice (void) |
| void | OutputText (int x, int y, char *text) |
| void | FlipBuffers (void) |
| bool | RunningFullScreen (void) |
| RECT | ViewportRect (void) |
| bool | Has3DAcceleration (void) |
| bool | CanRenderWindowed (void) |
| void | GetDisplayDetails (int &width, int &height, int &colourDepth) |
Private Methods | |
| void | logCaps (void) |
| void | RestoreSurfaces (void) |
Private Attributes | |
| String | mDriverName |
| String | mDriverDesc |
| GUID | mGuid |
| bool | mPrimaryDisplay |
| LPDIRECTDRAW7 | lpDD7 |
| LPDIRECT3D7 | lpD3D |
| D3DDeviceList * | mDeviceList |
| DDVideoModeList * | mVideoModeList |
| D3DDevice * | active3DDevice |
| DDVideoMode * | activeVideoMode |
| HWND | activeHWnd |
| DDCAPS | mSWCaps |
| DDCAPS | mHWCaps |
| LPDIRECTDRAWSURFACE7 | lpDDSPrimary |
| LPDIRECTDRAWSURFACE7 | lpDDSBack |
| bool | runningFullScreen |
| bool | using3DMode |
| RECT | rcViewport |
| LPDIRECTDRAWCLIPPER | lpDDClipper |
Utility class for D3DRenderSystem.
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
Creates DirectDraw surfaces appropriate for a render window.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team