Main Page
Namespaces
Classes
Files
File List
File Members
include
Applications
MSW
DX11
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
10
#include <
Applications/MSW/GteMSWWindow.h
>
11
#include <
Graphics/GteGraphicsEngine.h
>
12
#include <
Graphics/DX11/GteDX11Include.h
>
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
27
UINT
deviceCreationFlags
;
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
}
gte::Window
Definition:
GLX/GteWindow.h:19
gte
Definition:
GLX/GteWICFileIO.h:16
gte::Window::Parameters::deviceCreationFlags
UINT deviceCreationFlags
Definition:
MSW/DX11/GteWindow.h:27
GteDX11Include.h
gte::Window::Parameters
Definition:
GLX/GteWindow.h:22
GteGraphicsEngine.h
UINT
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
GteMSWWindow.h
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
gte::Window::Parameters::featureLevel
D3D_FEATURE_LEVEL featureLevel
Definition:
MSW/DX11/GteWindow.h:28
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:02