Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
DX11
GteDX11Texture1Array.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/GteTexture1Array.h
>
11
#include <
Graphics/DX11/GteDX11TextureArray.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
DX11Texture1Array
:
public
DX11TextureArray
17
{
18
public
:
19
// Construction.
20
DX11Texture1Array
(ID3D11Device* device,
Texture1Array
const
* textureArray);
21
static
std::shared_ptr<GEObject> Create(
void
* device,
GraphicsObject
const
*
object
);
22
23
// Member access.
24
inline
Texture1Array
* GetTextureArray()
const
;
25
inline
ID3D11Texture1D* GetDXTextureArray()
const
;
26
27
private
:
28
// Support for construction.
29
void
CreateStaging(ID3D11Device* device, D3D11_TEXTURE1D_DESC
const
& tx);
30
void
CreateSRView(ID3D11Device* device, D3D11_TEXTURE1D_DESC
const
& tx);
31
void
CreateUAView(ID3D11Device* device, D3D11_TEXTURE1D_DESC
const
& tx);
32
};
33
34
inline
Texture1Array
*
DX11Texture1Array::GetTextureArray
()
const
35
{
36
return
static_cast<
Texture1Array
*
>
(mGTObject);
37
}
38
39
inline
ID3D11Texture1D*
DX11Texture1Array::GetDXTextureArray
()
const
40
{
41
return
static_cast<
ID3D11Texture1D*
>
(mDXObject);
42
}
43
44
}
gte::DX11TextureArray
Definition:
GteDX11TextureArray.h:16
gte::DX11Texture1Array::GetTextureArray
Texture1Array * GetTextureArray() const
Definition:
GteDX11Texture1Array.h:34
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
gte
Definition:
GLX/GteWICFileIO.h:16
gte::DX11Texture1Array
Definition:
GteDX11Texture1Array.h:16
gte::Texture1Array
Definition:
GteTexture1Array.h:15
GteDX11TextureArray.h
gte::DX11Texture1Array::GetDXTextureArray
ID3D11Texture1D * GetDXTextureArray() const
Definition:
GteDX11Texture1Array.h:39
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
GteTexture1Array.h
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59