MSW/DX11/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 
13 
14 namespace gte
15 {
16 
17 class GTE_IMPEXP Window : public MSWWindow
18 {
19 public:
20  struct GTE_IMPEXP Parameters : public MSWWindow::Parameters
21  {
22  Parameters();
23 
24  Parameters(std::wstring const& inTitle,
25  int inXOrigin, int inYOrigin, int inXSize, int inYSize);
26 
28  D3D_FEATURE_LEVEL featureLevel;
29  };
30 
31 protected:
32  // Abstract base class. Only WindowSystem may create windows.
33  Window(Parameters& parameters);
34 public:
35  virtual ~Window();
36 
37 protected:
38  // This is assigned mBaseEngine, which allows development of the DX12
39  // engine independently of DX11 and WGL.
40  std::shared_ptr<GraphicsEngine> mEngine;
41 };
42 
43 }
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63
D3D_FEATURE_LEVEL featureLevel


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