Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
DX11
GteDX11ConstantBuffer.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/GteConstantBuffer.h
>
11
#include <
Graphics/DX11/GteDX11Buffer.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
DX11ConstantBuffer
:
public
DX11Buffer
17
{
18
public
:
19
// Construction.
20
DX11ConstantBuffer
(ID3D11Device* device,
ConstantBuffer
const
* cbuffer);
21
static
std::shared_ptr<GEObject> Create(
void
* device,
GraphicsObject
const
*
object
);
22
23
// Member access.
24
inline
ConstantBuffer
* GetConstantBuffer()
const
;
25
};
26
27
inline
ConstantBuffer
*
DX11ConstantBuffer::GetConstantBuffer
()
const
28
{
29
return
static_cast<
ConstantBuffer
*
>
(mGTObject);
30
}
31
32
}
gte::DX11ConstantBuffer
Definition:
GteDX11ConstantBuffer.h:16
gte::ConstantBuffer
Definition:
GteConstantBuffer.h:18
GteDX11Buffer.h
gte::DX11ConstantBuffer::GetConstantBuffer
ConstantBuffer * GetConstantBuffer() const
Definition:
GteDX11ConstantBuffer.h:27
GteConstantBuffer.h
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
gte
Definition:
GLX/GteWICFileIO.h:16
gte::DX11Buffer
Definition:
GteDX11Buffer.h:16
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59