00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef DXGRAPHICSDEVICE_H
00016 #define DXGRAPHICSDEVICE_H
00017
00018
00019
00020 #include "dxgsg9base.h"
00021 #include "graphicsDevice.h"
00022 #include "wdxGraphicsPipe9.h"
00023
00024
00025
00026
00027
00028
00029
00030 class EXPCL_PANDADX DXGraphicsDevice9 : public GraphicsDevice {
00031 friend class wdxGraphicsPipe9;
00032
00033 public:
00034 DXGraphicsDevice9(wdxGraphicsPipe9 *pipe);
00035 ~DXGraphicsDevice9();
00036
00037 DXScreenData _Scrn;
00038 LPDIRECT3DDEVICE9 _d3d_device;
00039 IDirect3DSwapChain9 *_swap_chain;
00040
00041 #if 0
00042 protected:
00043 static TypeHandle get_class_type();
00044 static void init_type();
00045 virtual TypeHandle get_type() const;
00046 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
00047 #endif
00048 };
00049
00050 #endif