#include <OgreD3D7DeviceList.h>
Public Member Functions | |
D3DDeviceList (LPDIRECT3D7 lpD3D) | |
~D3DDeviceList () | |
BOOL | enumerate (void) |
D3DDevice * | item (size_t index) |
size_t | count (void) |
D3DDevice * | getBest (unsigned int minColourDepth) |
Retrieves the 'best' 3D device type. | |
Public Attributes | |
LPDIRECT3D7 | lpD3D |
Private Member Functions | |
void | AddDevice (LPSTR lpDeviceDesc, LPSTR lpDeviceName, LPD3DDEVICEDESC7 lpD3DDeviceDesc) |
Private Attributes | |
std::vector< D3DDevice > | mDeviceList |
Friends | |
HRESULT CALLBACK | D3DEnumDevicesCallback (LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC7 lpD3DDeviceDesc, LPVOID lpContext) |
Utility class for D3DRenderSystem.
Definition at line 37 of file OgreD3D7DeviceList.h.
|
|
|
|
|
|
|
|
|
|
|
Retrieves the 'best' 3D device type. This method returns the device type that is 'best' out of those available. The 3 types that might be present are software emulation, hardware accelerated (HAL), and hardware transform and light. Generally the latter are preferred over the former, however in some cases (mainly very low-end cards) the hardware accelerated device type supports less features than the software mode so may be preferred. In addition some HALs don't support the full range of rendering bit depths (e.g. Matrox Millennium 1/2) so if a 32-bit colour depth is chosen, software mode must be used. |
|
|
|
|
|
Definition at line 53 of file OgreD3D7DeviceList.h. |
|
Definition at line 44 of file OgreD3D7DeviceList.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:07:53 2006