Panda3D
 All Classes Functions Variables Enumerations
dxGraphicsDevice9.cxx
1 // Filename: dxGraphicsDevice.cxx
2 // Created by: masad (22Jul03)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "config_dxgsg9.h"
16 #include "dxGraphicsDevice9.h"
17 
18 
19 ////////////////////////////////////////////////////////////////////
20 // Function: DXGraphicsDevice9::Constructor
21 // Access: Public
22 // Description:
23 ////////////////////////////////////////////////////////////////////
24 DXGraphicsDevice9::
25 DXGraphicsDevice9(wdxGraphicsPipe9 *pipe) :
26  GraphicsDevice(pipe) {
27 
28  ZeroMemory(&_Scrn,sizeof(_Scrn));
29  _d3d_device = NULL;
30  _swap_chain = NULL;
31 }
32 
33 ////////////////////////////////////////////////////////////////////
34 // Function: DXGraphicsDevice9::Destructor
35 // Access: Public
36 // Description:
37 ////////////////////////////////////////////////////////////////////
38 DXGraphicsDevice9::
39 ~DXGraphicsDevice9() {
40 }
An abstract device object that is part of Graphics Pipe.
This graphics pipe represents the interface for creating DirectX9 graphics windows.