Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
DX11
GteDX11TextureSingle.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/GteTextureSingle.h
>
11
#include <
Graphics/DX11/GteDX11Texture.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
DX11TextureSingle
:
public
DX11Texture
17
{
18
protected
:
19
// Abstract base class, a shim to distinguish between single textures and
20
// texture arrays.
21
DX11TextureSingle
(
TextureSingle
const
* gtTextureSingle);
22
23
public
:
24
// Member access.
25
inline
TextureSingle
* GetTextureSingle()
const
;
26
};
27
28
inline
TextureSingle
*
DX11TextureSingle::GetTextureSingle
()
const
29
{
30
return
static_cast<
TextureSingle
*
>
(mGTObject);
31
}
32
33
}
gte::DX11Texture
Definition:
GteDX11Texture.h:16
GteTextureSingle.h
gte::DX11TextureSingle
Definition:
GteDX11TextureSingle.h:16
GteDX11Texture.h
gte
Definition:
GLX/GteWICFileIO.h:16
gte::DX11TextureSingle::GetTextureSingle
TextureSingle * GetTextureSingle() const
Definition:
GteDX11TextureSingle.h:28
gte::TextureSingle
Definition:
GteTextureSingle.h:15
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