00001 #ifndef __D3D9DRIVERLIST_H__ 00002 #define __D3D9DRIVERLIST_H__ 00003 00004 #include "OgreD3D9Prerequisites.h" 00005 00006 #include "OgreD3D9Driver.h" 00007 00008 #include "OgreNoMemoryMacros.h" 00009 #include <d3d9.h> 00010 #include "OgreMemoryMacros.h" 00011 00012 namespace Ogre 00013 { 00014 class D3D9DriverList 00015 { 00016 private: 00017 std::vector<D3D9Driver> mDriverList; 00018 LPDIRECT3D9 mpD3D; 00019 00020 public: 00021 D3D9DriverList( LPDIRECT3D9 pD3D ); 00022 ~D3D9DriverList(); 00023 00024 BOOL enumerate(); 00025 unsigned int count() const; 00026 D3D9Driver* item( int index ); 00027 }; 00028 } 00029 #endif
Copyright © 2002 by The OGRE Team