raSystem  1.0 bata
raGrafikDriver.h
Go to the documentation of this file.
2  {
3  friend bool operator == (const raGrafikDriver& a, const raGrafikDriver& b);
4  public:
5  raGrafikDriver(void);
6  virtual ~raGrafikDriver(void) = 0;
7 
8  virtual bool Init(HWND wnd) = 0;
9  virtual void Exit(void) = 0;
10  virtual bool Resize(void) = 0;
11 
12  virtual void Clear(raColor clearColor, UINT ClearFlag, float Depth, UINT8 Stencil) = 0;
13  virtual void Present() = 0;
14  virtual void CreateScreenShot(const raString SaveFile) = 0;
15 
16  HWND GetClientWindow(void) { return m_clientWindow; }
17  bool IsPaused() { return m_standby; }
18  LPCSTR GetDriverName(void) { return m_DriverName; }
19 
20  protected:
21  raGrafikDriver(const GUID& raguid);
22  protected:
23 
24  bool m_standby;
27 
28  LPCSTR m_DriverName;
30  };
31  inline bool operator == (const raGrafikDriver& a, const raGrafikDriver& b) { return ((a.m_DriverName == b.m_DriverName) && (a.m_rondomID == b.m_rondomID)); }
#define RAPI
Definition: raMain.h:11
HWND GetClientWindow(void)
Definition: raColor.h:5
bool operator==(const raGrafikDriver &a, const raGrafikDriver &b)
std::string raString
Definition: raMain.h:107
LPCSTR GetDriverName(void)
unsigned char UINT8
Definition: d3dx11dbg.h:34