MSW/WGL/GteWindow.h
Go to the documentation of this file.
1 // David Eberly, Geometric Tools, Redmond WA 98052
2 // Copyright (c) 1998-2017
3 // Distributed under the Boost Software License, Version 1.0.
4 // http://www.boost.org/LICENSE_1_0.txt
5 // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6 // File Version: 3.0.0 (2016/06/19)
7 
8 #pragma once
9 
12 
13 namespace gte
14 {
15 
16 class GTE_IMPEXP Window : public MSWWindow
17 {
18 public:
19  struct GTE_IMPEXP Parameters : public MSWWindow::Parameters
20  {
21  Parameters();
22 
23  Parameters(std::wstring const& inTitle,
24  int inXOrigin, int inYOrigin, int inXSize, int inYSize);
25 
26  UINT deviceCreationFlags;
27  };
28 
29 protected:
30  // Abstract base class. Only WindowSystem may create windows.
31  Window(Parameters& parameters);
32 public:
33  virtual ~Window();
34 
35 protected:
36  // This is assigned mBaseEngine, which allows development of the DX12
37  // engine independently of DX11 and WGL.
38  std::shared_ptr<GraphicsEngine> mEngine;
39 };
40 
41 }
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:02