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 "dxgsg8base.h"
00021 #include "graphicsDevice.h"
00022 #include "wdxGraphicsPipe8.h"
00023
00024
00025
00026
00027
00028
00029
00030 class EXPCL_PANDADX DXGraphicsDevice8 : public GraphicsDevice {
00031 friend class wdxGraphicsPipe8;
00032
00033 public:
00034 DXGraphicsDevice8(wdxGraphicsPipe8 *pipe);
00035 ~DXGraphicsDevice8();
00036
00037 DXScreenData _Scrn;
00038 LPDIRECT3DDEVICE8 _d3d_device;
00039 IDirect3DSwapChain8 *_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
00051