GlobeEngine
Device.h
Go to the documentation of this file.
1 
9 #ifndef GlobeEngine_Device_h
10 #define GlobeEngine_Device_h
11 
12 #include "OpenGL_Includes.h"
13 #include "VBOVertex.h"
14 
15 namespace ge {
16 
17  class Device
18  {
19  public:
20  enum GraphicsCardVendor { UNKNOWN = 0, NV = 1, AMD = 2, INTEL = 3 };
21 
22  public:
23  Device();
24  ~Device();
25 
26  void clear();
27  void create();
28 
29  /* idx 0 = NV, idx 1 = AMD, idx 2 = INTEL */
32  private:
33  GraphicsCardVendor vendor;
34  };
35 }
36 
37 #endif
GraphicsCardVendor
Definition: Device.h:20
Definition: Device.h:17
~Device()
Definition: Device.cpp:16
static Vertex3boolean getVendorInfo()
Definition: Device.cpp:31
void clear()
Definition: Device.cpp:21
Definition: Device.h:20
Definition: Device.h:20
Definition: Device.h:20
Definition: VBOVertex.h:115
Definition: Device.h:20
static GraphicsCardVendor findGraphicsCardVendor()
Definition: Device.cpp:55
Definition: AvalancheTrainingSimulationEngine.h:28
Device()
Definition: Device.cpp:11
void create()
Definition: Device.cpp:26