Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
DX11
GteDXGIAdapter.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 <
Graphics/DX11/GteDXGIOutput.h
>
11
12
namespace
gte
13
{
14
15
// A simple wrapper for IDXGIAdapter1 objects and enumeration of them.
16
17
class
GTE_IMPEXP
DXGIAdapter
18
{
19
public
:
20
// Construction and destruction.
21
~
DXGIAdapter
();
22
DXGIAdapter
(
DXGIAdapter
const
&
object
);
23
DXGIAdapter
(IDXGIAdapter1* adapter =
nullptr
);
24
25
// Assignment.
26
DXGIAdapter
& operator=(
DXGIAdapter
const
&
object
);
27
28
// Member access.
29
IDXGIAdapter1* GetAdapter()
const
;
30
DXGI_ADAPTER_DESC1
const
& GetDescription()
const
;
31
std::vector<DXGIOutput>
const
& GetOutputs()
const
;
32
33
// Enumeration of adapters on a machine.
34
static
void
Enumerate(std::vector<DXGIAdapter>& adapters);
35
36
private
:
37
IDXGIAdapter1*
mAdapter
;
38
DXGI_ADAPTER_DESC1
mDescription
;
39
std::vector<DXGIOutput>
mOutputs
;
40
};
41
42
}
gte::DXGIAdapter
Definition:
GteDXGIAdapter.h:17
gte::DXGIAdapter::mAdapter
IDXGIAdapter1 * mAdapter
Definition:
GteDXGIAdapter.h:37
GteDXGIOutput.h
gte
Definition:
GLX/GteWICFileIO.h:16
gte::DXGIAdapter::mOutputs
std::vector< DXGIOutput > mOutputs
Definition:
GteDXGIAdapter.h:39
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
gte::DXGIAdapter::mDescription
DXGI_ADAPTER_DESC1 mDescription
Definition:
GteDXGIAdapter.h:38
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59